pub struct CredentialRequestOptions {
pub public_key: PublicKeyCredentialRequestOptions,
}Expand description
This is the expected input to navigator.credentials.get when wanting to authenticate using a
webauthn credential.
https://w3c.github.io/webauthn/#sctn-credentialrequestoptions-extension
Fields§
§public_key: PublicKeyCredentialRequestOptionsThe key defining that this is a request for a webauthn credential.
Trait Implementations§
Source§impl Debug for CredentialRequestOptions
impl Debug for CredentialRequestOptions
Source§impl<'de> Deserialize<'de> for CredentialRequestOptions
impl<'de> Deserialize<'de> for CredentialRequestOptions
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 CredentialRequestOptions
impl RefUnwindSafe for CredentialRequestOptions
impl Send for CredentialRequestOptions
impl Sync for CredentialRequestOptions
impl Unpin for CredentialRequestOptions
impl UnwindSafe for CredentialRequestOptions
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