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
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 RefUnwindSafe for RegisterPublicKeyCredential
impl Send for RegisterPublicKeyCredential
impl Sync for RegisterPublicKeyCredential
impl Unpin for RegisterPublicKeyCredential
impl UnwindSafe for RegisterPublicKeyCredential