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§
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