mirror of
https://github.com/bitwarden/browser
synced 2026-02-02 09:43:29 +00:00
Clean up visibility
This commit is contained in:
@@ -30,7 +30,7 @@ fn get_pin() -> Option<String> {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn available() -> bool {
|
||||
pub(crate) fn available() -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ fn make_assertion(
|
||||
Ok(get_assertion_args)
|
||||
}
|
||||
|
||||
pub fn get(
|
||||
pub(crate) fn get(
|
||||
options: PublicKeyCredentialRequestOptions,
|
||||
) -> Result<PublicKeyCredential, Fido2ClientError> {
|
||||
let device = FidoKeyHidFactory::create(&Cfg::init()).map_err(|_| Fido2ClientError::NoDevice)?;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
use crate::{Fido2ClientError, PublicKeyCredential, PublicKeyCredentialRequestOptions};
|
||||
|
||||
pub fn get(
|
||||
pub(crate) fn get(
|
||||
_options: PublicKeyCredentialRequestOptions,
|
||||
) -> Result<PublicKeyCredential, Fido2ClientError> {
|
||||
todo!("Fido2Client is unimplemented on this platform");
|
||||
}
|
||||
|
||||
pub fn available() -> bool {
|
||||
pub(crate) fn available() -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user