pub struct AuthenticationResult { /* private fields */ }
Expand description
Information about the authentication that occurred.
Implementations§
Source§impl AuthenticationResult
impl AuthenticationResult
Sourcepub fn cred_id(&self) -> &HumanBinaryData
pub fn cred_id(&self) -> &HumanBinaryData
The credential ID that was used to authenticate.
Sourcepub fn needs_update(&self) -> bool
pub fn needs_update(&self) -> bool
If this authentication result should be applied to the associated credential to update its properties.
Sourcepub fn user_verified(&self) -> bool
pub fn user_verified(&self) -> bool
If the authentication provided user_verification.
Sourcepub fn backup_state(&self) -> bool
pub fn backup_state(&self) -> bool
The current backup state of the authenticator. It may have changed since registration.
Sourcepub fn backup_eligible(&self) -> bool
pub fn backup_eligible(&self) -> bool
The current backup eligibility of the authenticator. It may have changed since registration in rare cases. This transition may ONLY be false to true, never the reverse. This is common on passkeys during some upgrades.
Sourcepub fn extensions(&self) -> &AuthenticationExtensions
pub fn extensions(&self) -> &AuthenticationExtensions
The response from associated extensions.
Trait Implementations§
Source§impl Clone for AuthenticationResult
impl Clone for AuthenticationResult
Source§fn clone(&self) -> AuthenticationResult
fn clone(&self) -> AuthenticationResult
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AuthenticationResult
impl Debug for AuthenticationResult
Source§impl<'de> Deserialize<'de> for AuthenticationResult
impl<'de> Deserialize<'de> for AuthenticationResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthenticationResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthenticationResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AuthenticationResult
impl Serialize for AuthenticationResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AuthenticationResult
impl RefUnwindSafe for AuthenticationResult
impl Send for AuthenticationResult
impl Sync for AuthenticationResult
impl Unpin for AuthenticationResult
impl UnwindSafe for AuthenticationResult
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