Struct webauthn_rs_core::internals::AuthenticatorData
source · pub struct AuthenticatorData<T: Ceremony> {
pub counter: u32,
pub user_present: bool,
pub user_verified: bool,
pub backup_eligible: bool,
pub backup_state: bool,
pub acd: Option<AttestedCredentialData>,
pub extensions: T::SignedExtensions,
/* private fields */
}Expand description
Data returned by this authenticator during registration.
Fields§
§counter: u32The counter of this credentials activations.
user_present: boolFlag if the user was present.
user_verified: boolFlag is the user verified to the device. Implies presence.
backup_eligible: boolFlag defining if the authenticator could be backed up OR transferred between multiple devices.
backup_state: boolFlag defining if the authenticator knows it is currently backed up or present on multiple devices.
acd: Option<AttestedCredentialData>The optional attestation.
extensions: T::SignedExtensionsExtensions supplied by the device.
Trait Implementations§
source§impl<T: Clone + Ceremony> Clone for AuthenticatorData<T>where
T::SignedExtensions: Clone,
impl<T: Clone + Ceremony> Clone for AuthenticatorData<T>where
T::SignedExtensions: Clone,
source§fn clone(&self) -> AuthenticatorData<T>
fn clone(&self) -> AuthenticatorData<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<T: Debug + Ceremony> Debug for AuthenticatorData<T>where
T::SignedExtensions: Debug,
impl<T: Debug + Ceremony> Debug for AuthenticatorData<T>where
T::SignedExtensions: Debug,
Auto Trait Implementations§
impl<T> Freeze for AuthenticatorData<T>
impl<T> RefUnwindSafe for AuthenticatorData<T>
impl<T> Send for AuthenticatorData<T>
impl<T> Sync for AuthenticatorData<T>
impl<T> Unpin for AuthenticatorData<T>
impl<T> UnwindSafe for AuthenticatorData<T>
Blanket Implementations§
source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
source§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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