pub struct AuthenticationResponse {
pub id: String,
pub client_data_json: String,
pub authenticator_data: String,
pub signature: String,
pub user_handle: Option<String>,
}Expand description
Response from the client during authentication
(navigator.credentials.get() response).
The integrator deserializes this from the browser payload and passes the
fields to crate::verify_authentication.
Fields§
§id: StringBase64url-encoded credential ID.
client_data_json: StringClient data JSON (Base64url-encoded).
authenticator_data: StringAuthenticator data (Base64url-encoded).
signature: StringSignature (Base64url-encoded).
user_handle: Option<String>User handle (Base64url-encoded, for resident keys).
Trait Implementations§
Source§impl Debug for AuthenticationResponse
impl Debug for AuthenticationResponse
Source§impl<'de> Deserialize<'de> for AuthenticationResponse
Available on crate feature serde only.
impl<'de> Deserialize<'de> for AuthenticationResponse
Available on crate feature
serde only.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 AuthenticationResponse
impl RefUnwindSafe for AuthenticationResponse
impl Send for AuthenticationResponse
impl Sync for AuthenticationResponse
impl Unpin for AuthenticationResponse
impl UnsafeUnpin for AuthenticationResponse
impl UnwindSafe for AuthenticationResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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