pub struct Authentication { /* private fields */ }Expand description
A completed authentication: who signed in, and what the device reported.
Implementations§
Source§impl Authentication
impl Authentication
pub fn credential_id(&self) -> &[u8] ⓘ
Sourcepub fn user_handle(&self) -> &[u8] ⓘ
pub fn user_handle(&self) -> &[u8] ⓘ
The user handle from the stored credential, never the one the client sent. The client’s copy is checked against this, not trusted over it.
pub fn sign_count(&self) -> u32
pub fn flags(&self) -> AuthenticatorFlags
pub fn user_verified(&self) -> bool
Trait Implementations§
Source§impl Clone for Authentication
impl Clone for Authentication
Auto Trait Implementations§
impl Freeze for Authentication
impl RefUnwindSafe for Authentication
impl Send for Authentication
impl Sync for Authentication
impl Unpin for Authentication
impl UnsafeUnpin for Authentication
impl UnwindSafe for Authentication
Blanket Implementations§
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