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: Base64UrlSafeDataThe challenge that should be signed by the authenticator.
timeout: Option<u32>The timeout for the authenticator in case of no interaction.
rp_id: StringThe relying party ID.
allow_credentials: Vec<AllowCredentials>The set of credentials that are allowed to sign this challenge.
user_verification: UserVerificationPolicyThe verification policy the browser will request.
extensions: Option<RequestAuthenticationExtensions>extensions.
Trait Implementations§
source§impl Clone for PublicKeyCredentialRequestOptions
impl Clone for PublicKeyCredentialRequestOptions
source§fn clone(&self) -> PublicKeyCredentialRequestOptions
fn clone(&self) -> PublicKeyCredentialRequestOptions
Returns a copy 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<'de> Deserialize<'de> for PublicKeyCredentialRequestOptions
impl<'de> Deserialize<'de> for PublicKeyCredentialRequestOptions
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PublicKeyCredentialRequestOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<PublicKeyCredentialRequestOptions, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for PublicKeyCredentialRequestOptions
impl Serialize for PublicKeyCredentialRequestOptions
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PublicKeyCredentialRequestOptions
impl Send for PublicKeyCredentialRequestOptions
impl Sync for PublicKeyCredentialRequestOptions
impl Unpin for PublicKeyCredentialRequestOptions
impl UnwindSafe for PublicKeyCredentialRequestOptions
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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