[][src]Struct webauthn_rs::proto::PublicKeyCredentialCreationOptions

pub struct PublicKeyCredentialCreationOptions {
    pub rp: RelyingParty,
    pub user: User,
    pub challenge: Base64UrlSafeData,
    pub pub_key_cred_params: Vec<PubKeyCredParams>,
    pub timeout: Option<u32>,
    pub attestation: Option<AttestationConveyancePreference>,
    pub exclude_credentials: Option<Vec<PublicKeyCredentialDescriptor>>,
    pub authenticator_selection: Option<AuthenticatorSelectionCriteria>,
    pub extensions: Option<BTreeMap<String, String>>,
}

https://w3c.github.io/webauthn/#dictionary-makecredentialoptions

Fields

rp: RelyingPartyuser: Userchallenge: Base64UrlSafeDatapub_key_cred_params: Vec<PubKeyCredParams>timeout: Option<u32>attestation: Option<AttestationConveyancePreference>exclude_credentials: Option<Vec<PublicKeyCredentialDescriptor>>authenticator_selection: Option<AuthenticatorSelectionCriteria>extensions: Option<BTreeMap<String, String>>

Trait Implementations

impl Debug for PublicKeyCredentialCreationOptions[src]

impl Serialize for PublicKeyCredentialCreationOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,