pub struct PasskeyRegisterOptionsResponse {
pub challenge_id: Uuid,
pub options: Map<String, Value>,
}Expand description
WebAuthn credential-creation options for adding a passkey to the current
user, plus the server-side challenge id to echo back on finalize.
excludeCredentials lists the user’s already-registered authenticators.
JSON schema
{
"title": "PasskeyRegisterOptionsResponse",
"description": "WebAuthn credential-creation options for adding a
passkey to the current user, plus the server-side challenge id to echo
back on finalize. `excludeCredentials` lists the user's
already-registered authenticators.",
"type": "object",
"required": [
"challenge_id",
"options"
],
"properties": {
"challenge_id": {
"description": "Opaque id of the stored, single-use challenge. Echo
it back on finalize.",
"type": "string",
"format": "uuid"
},
"options": {
"description": "The PublicKeyCredentialCreationOptions for the
browser.",
"type": "object",
"additionalProperties": true
}
}
}Fields§
§challenge_id: UuidOpaque id of the stored, single-use challenge. Echo it back on finalize.
options: Map<String, Value>The PublicKeyCredentialCreationOptions for the browser.
Trait Implementations§
Source§impl Clone for PasskeyRegisterOptionsResponse
impl Clone for PasskeyRegisterOptionsResponse
Source§fn clone(&self) -> PasskeyRegisterOptionsResponse
fn clone(&self) -> PasskeyRegisterOptionsResponse
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 PasskeyRegisterOptionsResponse
impl<'de> Deserialize<'de> for PasskeyRegisterOptionsResponse
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 PasskeyRegisterOptionsResponse
impl RefUnwindSafe for PasskeyRegisterOptionsResponse
impl Send for PasskeyRegisterOptionsResponse
impl Sync for PasskeyRegisterOptionsResponse
impl Unpin for PasskeyRegisterOptionsResponse
impl UnsafeUnpin for PasskeyRegisterOptionsResponse
impl UnwindSafe for PasskeyRegisterOptionsResponse
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