pub struct PasskeyRegisterFinalizeRequest {
pub attestation: Map<String, Value>,
pub challenge_id: Uuid,
pub nickname: Option<String>,
}Expand description
Completes adding a passkey by submitting the attestation for the challenge.
JSON schema
{
"title": "PasskeyRegisterFinalizeRequest",
"description": "Completes adding a passkey by submitting the
attestation for the challenge.",
"type": "object",
"required": [
"attestation",
"challenge_id"
],
"properties": {
"attestation": {
"description": "The WebAuthn attestation response from
navigator.credentials.create.",
"type": "object",
"additionalProperties": true
},
"challenge_id": {
"description": "The challenge id returned by the register-options
call.",
"type": "string",
"format": "uuid"
},
"nickname": {
"description": "Optional human label for the new passkey.",
"type": [
"string",
"null"
]
}
}
}Fields§
§attestation: Map<String, Value>The WebAuthn attestation response from navigator.credentials.create.
challenge_id: UuidThe challenge id returned by the register-options call.
nickname: Option<String>Optional human label for the new passkey.
Trait Implementations§
Source§impl Clone for PasskeyRegisterFinalizeRequest
impl Clone for PasskeyRegisterFinalizeRequest
Source§fn clone(&self) -> PasskeyRegisterFinalizeRequest
fn clone(&self) -> PasskeyRegisterFinalizeRequest
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<'de> Deserialize<'de> for PasskeyRegisterFinalizeRequest
impl<'de> Deserialize<'de> for PasskeyRegisterFinalizeRequest
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
Auto Trait Implementations§
impl Freeze for PasskeyRegisterFinalizeRequest
impl RefUnwindSafe for PasskeyRegisterFinalizeRequest
impl Send for PasskeyRegisterFinalizeRequest
impl Sync for PasskeyRegisterFinalizeRequest
impl Unpin for PasskeyRegisterFinalizeRequest
impl UnsafeUnpin for PasskeyRegisterFinalizeRequest
impl UnwindSafe for PasskeyRegisterFinalizeRequest
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