Struct webauthn_rs::proto::PublicKeyCredentialRequestOptions [−][src]
pub struct PublicKeyCredentialRequestOptions { pub challenge: Base64UrlSafeData, pub timeout: Option<u32>, pub rp_id: String, pub allow_credentials: Vec<AllowCredentials>, pub user_verification: UserVerificationPolicy, pub extensions: Option<RequestAuthenticationExtensions>, }
Expand description
The requested options for the authentication
Fields
challenge: Base64UrlSafeData
The challenge that should be signed by the authenticator.
timeout: Option<u32>
The timeout for the authenticator in case of no interaction.
rp_id: String
The relying party ID.
allow_credentials: Vec<AllowCredentials>
The set of credentials that are allowed to sign this challenge.
user_verification: UserVerificationPolicy
The verification policy the browser will request.
extensions: Option<RequestAuthenticationExtensions>
extensions.
Trait Implementations
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 Send for PublicKeyCredentialRequestOptions
impl Sync for PublicKeyCredentialRequestOptions
impl Unpin for PublicKeyCredentialRequestOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V