Struct webauthn_rs::proto::RegisterPublicKeyCredential[][src]

pub struct RegisterPublicKeyCredential {
    pub id: String,
    pub raw_id: Base64UrlSafeData,
    pub response: AuthenticatorAttestationResponseRaw,
    pub type_: String,
}
Expand description

A client response to a registration challenge. This contains all required information to asses and assert trust in a credentials legitimacy, followed by registration to a user.

You should not need to handle the inner content of this structure - you should provide this to the correctly handling function of Webauthn only. https://w3c.github.io/webauthn/#iface-pkcredential

Fields

id: String

The id of the PublicKey credential, likely in base64

raw_id: Base64UrlSafeData

The id of the credential, as binary.

response: AuthenticatorAttestationResponseRaw

https://w3c.github.io/webauthn/#dom-publickeycredential-response

type_: String

The type of credential.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.