pub struct PasskeyAttestationResponse {
pub attestation_object: String,
pub authenticator_data: Option<String>,
pub client_data_json: String,
pub public_key: Option<String>,
pub public_key_algorithm: Option<f64>,
pub transports: Vec<String>,
}Expand description
The authenticator attestation response from a WebAuthn registration ceremony.
JSON schema
{
"title": "PasskeyAttestationResponse",
"description": "The authenticator attestation response from a WebAuthn
registration ceremony.",
"type": "object",
"required": [
"attestation_object",
"client_data_json"
],
"properties": {
"attestation_object": {
"type": "string"
},
"authenticator_data": {
"type": "string"
},
"client_data_json": {
"type": "string"
},
"public_key": {
"type": "string"
},
"public_key_algorithm": {
"type": "number"
},
"transports": {
"type": "array",
"items": {
"type": "string"
}
}
},
"x-stainless-model": "client_auth.passkey_attestation_response"
}Fields§
§attestation_object: String§authenticator_data: Option<String>§client_data_json: String§public_key: Option<String>§public_key_algorithm: Option<f64>§transports: Vec<String>Trait Implementations§
Source§impl Clone for PasskeyAttestationResponse
impl Clone for PasskeyAttestationResponse
Source§fn clone(&self) -> PasskeyAttestationResponse
fn clone(&self) -> PasskeyAttestationResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PasskeyAttestationResponse
impl Debug for PasskeyAttestationResponse
Source§impl<'de> Deserialize<'de> for PasskeyAttestationResponse
impl<'de> Deserialize<'de> for PasskeyAttestationResponse
Source§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
Source§impl From<&PasskeyAttestationResponse> for PasskeyAttestationResponse
impl From<&PasskeyAttestationResponse> for PasskeyAttestationResponse
Source§fn from(value: &PasskeyAttestationResponse) -> Self
fn from(value: &PasskeyAttestationResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PasskeyAttestationResponse
impl RefUnwindSafe for PasskeyAttestationResponse
impl Send for PasskeyAttestationResponse
impl Sync for PasskeyAttestationResponse
impl Unpin for PasskeyAttestationResponse
impl UnsafeUnpin for PasskeyAttestationResponse
impl UnwindSafe for PasskeyAttestationResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more