pub struct WebauthnAuthenticator<T>where
T: AuthenticatorBackend,{ /* private fields */ }
Implementations§
Source§impl<T> WebauthnAuthenticator<T>where
T: AuthenticatorBackend,
impl<T> WebauthnAuthenticator<T>where
T: AuthenticatorBackend,
Source§impl<T> WebauthnAuthenticator<T>where
T: AuthenticatorBackend,
impl<T> WebauthnAuthenticator<T>where
T: AuthenticatorBackend,
Sourcepub fn do_registration(
&mut self,
origin: Url,
options: CreationChallengeResponse,
) -> Result<RegisterPublicKeyCredential, WebauthnCError>
pub fn do_registration( &mut self, origin: Url, options: CreationChallengeResponse, ) -> Result<RegisterPublicKeyCredential, WebauthnCError>
5.1.3. Create a New Credential - PublicKeyCredential’s Create (origin, options, sameOriginWithAncestors) Method https://www.w3.org/TR/webauthn/#createCredential
6.3.2. The authenticatorMakeCredential Operation https://www.w3.org/TR/webauthn/#op-make-cred
Sourcepub fn do_authentication(
&mut self,
origin: Url,
options: RequestChallengeResponse,
) -> Result<PublicKeyCredential, WebauthnCError>
pub fn do_authentication( &mut self, origin: Url, options: RequestChallengeResponse, ) -> Result<PublicKeyCredential, WebauthnCError>
Auto Trait Implementations§
impl<T> Freeze for WebauthnAuthenticator<T>where
T: Freeze,
impl<T> RefUnwindSafe for WebauthnAuthenticator<T>where
T: RefUnwindSafe,
impl<T> Send for WebauthnAuthenticator<T>where
T: Send,
impl<T> Sync for WebauthnAuthenticator<T>where
T: Sync,
impl<T> Unpin for WebauthnAuthenticator<T>where
T: Unpin,
impl<T> UnwindSafe for WebauthnAuthenticator<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more