pub struct PasskeyChallengeResponse {
pub challenge_id: Uuid,
pub options: Map<String, Value>,
}Expand description
The server-side challenge id (correlate it on finalize) and the PublicKeyCredential*Options the browser WebAuthn API consumes.
JSON schema
{
"title": "PasskeyChallengeResponse",
"description": "The server-side challenge id (correlate it on finalize) and the PublicKeyCredential*Options the browser WebAuthn API consumes.",
"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 /
RequestOptions 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 / RequestOptions for the browser.
Trait Implementations§
Source§impl Clone for PasskeyChallengeResponse
impl Clone for PasskeyChallengeResponse
Source§fn clone(&self) -> PasskeyChallengeResponse
fn clone(&self) -> PasskeyChallengeResponse
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 PasskeyChallengeResponse
impl Debug for PasskeyChallengeResponse
Source§impl<'de> Deserialize<'de> for PasskeyChallengeResponse
impl<'de> Deserialize<'de> for PasskeyChallengeResponse
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 PasskeyChallengeResponse
impl RefUnwindSafe for PasskeyChallengeResponse
impl Send for PasskeyChallengeResponse
impl Sync for PasskeyChallengeResponse
impl Unpin for PasskeyChallengeResponse
impl UnsafeUnpin for PasskeyChallengeResponse
impl UnwindSafe for PasskeyChallengeResponse
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