1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-02 09:43:29 +00:00

Clean up visibility

This commit is contained in:
Bernd Schoolmann
2025-11-17 14:31:09 +01:00
parent 8e453d4731
commit 452ef0d774
2 changed files with 4 additions and 4 deletions

View File

@@ -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)?;

View File

@@ -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
}