Struct webauthn_authenticator_rs::softtoken::SoftToken
source · [−]pub struct SoftToken { /* private fields */ }Implementations
Trait Implementations
sourceimpl AuthenticatorBackend for SoftToken
impl AuthenticatorBackend for SoftToken
fn perform_register(
&mut self,
origin: Url,
options: PublicKeyCredentialCreationOptions,
_timeout_ms: u32
) -> Result<RegisterPublicKeyCredential, WebauthnCError>
fn perform_auth(
&mut self,
origin: Url,
options: PublicKeyCredentialRequestOptions,
timeout_ms: u32
) -> Result<PublicKeyCredential, WebauthnCError>
sourceimpl U2FToken for SoftToken
impl U2FToken for SoftToken
fn perform_u2f_sign(
&mut self,
app_bytes: Vec<u8>,
chal_bytes: Vec<u8>,
_timeout_ms: u64,
allowed_credentials: &[AllowCredentials],
user_verification: bool
) -> Result<U2FSignData, WebauthnCError>
Auto Trait Implementations
impl RefUnwindSafe for SoftToken
impl Send for SoftToken
impl Sync for SoftToken
impl Unpin for SoftToken
impl UnwindSafe for SoftToken
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more