pub struct RegistrationResponse {
pub client_data_json: String,
pub attestation_object: String,
pub transports: Vec<String>,
}Expand description
Response from the client during registration
(navigator.credentials.create() response).
The integrator deserializes this from the browser payload and passes the
fields to crate::verify_registration.
Fields§
§client_data_json: StringClient data JSON (Base64url-encoded).
attestation_object: StringAttestation object (Base64url-encoded).
transports: Vec<String>Transports used (e.g. “usb”, “nfc”, “internal”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegistrationResponse
impl RefUnwindSafe for RegistrationResponse
impl Send for RegistrationResponse
impl Sync for RegistrationResponse
impl Unpin for RegistrationResponse
impl UnsafeUnpin for RegistrationResponse
impl UnwindSafe for RegistrationResponse
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