pub struct AuthenticationState { /* private fields */ }Expand description
The in progress state of an authentication attempt. You must persist this associated to the UserID requesting the registration.
Implementations§
Source§impl AuthenticationState
impl AuthenticationState
Sourcepub fn set_allowed_credentials(&mut self, credentials: Vec<Credential>)
pub fn set_allowed_credentials(&mut self, credentials: Vec<Credential>)
set which credentials the user is allowed to authenticate with. This is used as part of resident key authentication flows where we need to inject the set of viable credentials after the client has sent us their public key credential and we identify the user.
Trait Implementations§
Source§impl Clone for AuthenticationState
impl Clone for AuthenticationState
Source§fn clone(&self) -> AuthenticationState
fn clone(&self) -> AuthenticationState
Returns a duplicate 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 Debug for AuthenticationState
impl Debug for AuthenticationState
Source§impl<'de> Deserialize<'de> for AuthenticationState
impl<'de> Deserialize<'de> for AuthenticationState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AuthenticationState
impl RefUnwindSafe for AuthenticationState
impl Send for AuthenticationState
impl Sync for AuthenticationState
impl Unpin for AuthenticationState
impl UnwindSafe for AuthenticationState
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