pub struct RegisterPublicKeyCredential {
pub id: String,
pub raw_id: Base64UrlSafeData,
pub response: AuthenticatorAttestationResponseRaw,
pub type_: String,
pub extensions: RegistrationExtensionsClientOutputs,
}
Expand description
A client response to a registration challenge. This contains all required information to assess and assert trust in a credential’s 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.
This is NEVER actually used in a real registration, because the true credential ID is taken from the attestation data.
raw_id: Base64UrlSafeData
The id of the credential, as binary.
This is NEVER actually used in a real registration, because the true credential ID is taken from the attestation data.
response: AuthenticatorAttestationResponseRaw
§type_: String
The type of credential.
extensions: RegistrationExtensionsClientOutputs
Unsigned Client processed extensions.
Trait Implementations§
source§impl Clone for RegisterPublicKeyCredential
impl Clone for RegisterPublicKeyCredential
source§fn clone(&self) -> RegisterPublicKeyCredential
fn clone(&self) -> RegisterPublicKeyCredential
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more