Struct webauthn_rs::proto::PublicKeyCredentialCreationOptions [−][src]
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<RequestRegistrationExtensions>,
}Expand description
Fields
rp: RelyingPartyThe relying party
user: UserThe user.
challenge: Base64UrlSafeDataThe one-time challenge for the credential to sign.
pub_key_cred_params: Vec<PubKeyCredParams>The set of cryptographic types allowed by this server.
timeout: Option<u32>The timeout for the authenticator to stop accepting the operation
attestation: Option<AttestationConveyancePreference>The requested attestation level from the device.
exclude_credentials: Option<Vec<PublicKeyCredentialDescriptor>>Credential ID’s that are excluded from being able to be registered.
authenticator_selection: Option<AuthenticatorSelectionCriteria>Criteria defining which authenticators may be used in this operation.
extensions: Option<RequestRegistrationExtensions>Non-standard extensions that may be used by the browser/authenticator.
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 PublicKeyCredentialCreationOptions
impl Sync for PublicKeyCredentialCreationOptions
impl Unpin for PublicKeyCredentialCreationOptions
Blanket Implementations
Mutably borrows from an owned value. Read more