Struct webauthn_rs::proto::PublicKeyCredential [−][src]
pub struct PublicKeyCredential { pub id: String, pub raw_id: Base64UrlSafeData, pub response: AuthenticatorAssertionResponseRaw, pub extensions: Option<AuthenticationExtensionsClientOutputs>, pub type_: String, }
Expand description
A client response to an authentication challenge. This contains all required information to asses and assert trust in a credentials legitimacy, followed by authentication 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.
Fields
id: String
The credential Id, likely base64
raw_id: Base64UrlSafeData
The binary of the credential id.
response: AuthenticatorAssertionResponseRaw
The authenticator response.
extensions: Option<AuthenticationExtensionsClientOutputs>
The extensions sent by the client
type_: String
The authenticator type.
Implementations
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 PublicKeyCredential
impl Send for PublicKeyCredential
impl Sync for PublicKeyCredential
impl Unpin for PublicKeyCredential
impl UnwindSafe for PublicKeyCredential