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§
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<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