pub struct AuthenticationOptions {
pub challenge: String,
pub rp_id: String,
pub allow_credentials: Vec<AllowCredential>,
pub timeout: u64,
pub user_verification: String,
}Expand description
Options sent to the client for authentication
(navigator.credentials.get()).
Fields§
§challenge: StringServer-generated challenge (Base64url-encoded).
rp_id: StringRelying party ID.
allow_credentials: Vec<AllowCredential>Allowed credential IDs for this authentication.
timeout: u64Timeout hint in milliseconds.
user_verification: StringUser verification requirement.
Trait Implementations§
Source§impl Debug for AuthenticationOptions
impl Debug for AuthenticationOptions
Source§impl<'de> Deserialize<'de> for AuthenticationOptions
Available on crate feature serde only.
impl<'de> Deserialize<'de> for AuthenticationOptions
Available on crate feature
serde only.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 AuthenticationOptions
impl RefUnwindSafe for AuthenticationOptions
impl Send for AuthenticationOptions
impl Sync for AuthenticationOptions
impl Unpin for AuthenticationOptions
impl UnsafeUnpin for AuthenticationOptions
impl UnwindSafe for AuthenticationOptions
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