pub struct AuthPasskeyAuthenticationRequestBody {
pub authenticator_response: PasskeyAuthenticatorAuthenticationCredential,
pub challenge: String,
pub relying_party: Option<String>,
}Expand description
The authenticator response for the authentication ceremony.
JSON schema
{
"title": "AuthPasskeyAuthenticationRequestBody",
"description": "The authenticator response for the authentication
ceremony.",
"type": "object",
"required": [
"authenticator_response",
"challenge"
],
"properties": {
"authenticator_response": {
"$ref":
"#/components/schemas/PasskeyAuthenticatorAuthenticationCredential"
},
"challenge": {
"type": "string"
},
"relying_party": {
"type": "string",
"format": "uri"
}
}
}Fields§
§authenticator_response: PasskeyAuthenticatorAuthenticationCredential§challenge: String§relying_party: Option<String>Trait Implementations§
Source§impl Clone for AuthPasskeyAuthenticationRequestBody
impl Clone for AuthPasskeyAuthenticationRequestBody
Source§fn clone(&self) -> AuthPasskeyAuthenticationRequestBody
fn clone(&self) -> AuthPasskeyAuthenticationRequestBody
Returns a duplicate of the value. Read more
1.0.0 · 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 AuthPasskeyAuthenticationRequestBody
impl<'de> Deserialize<'de> for AuthPasskeyAuthenticationRequestBody
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<&AuthPasskeyAuthenticationRequestBody> for AuthPasskeyAuthenticationRequestBody
impl From<&AuthPasskeyAuthenticationRequestBody> for AuthPasskeyAuthenticationRequestBody
Source§fn from(value: &AuthPasskeyAuthenticationRequestBody) -> Self
fn from(value: &AuthPasskeyAuthenticationRequestBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthPasskeyAuthenticationRequestBody
impl RefUnwindSafe for AuthPasskeyAuthenticationRequestBody
impl Send for AuthPasskeyAuthenticationRequestBody
impl Sync for AuthPasskeyAuthenticationRequestBody
impl Unpin for AuthPasskeyAuthenticationRequestBody
impl UnwindSafe for AuthPasskeyAuthenticationRequestBody
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