pub struct AssertionInput<'a> {
pub credential_id: &'a str,
pub authenticator_data: &'a [u8],
pub client_data_json: &'a [u8],
pub signature: &'a [u8],
pub user_handle: Option<&'a [u8]>,
}Expand description
Inputs the frontend posts after navigator.credentials.get() completes.
Fields§
§credential_id: &'a str§authenticator_data: &'a [u8]§client_data_json: &'a [u8]§signature: &'a [u8]§user_handle: Option<&'a [u8]>Optional userHandle — present for discoverable credentials.
Trait Implementations§
Source§impl<'a> Clone for AssertionInput<'a>
impl<'a> Clone for AssertionInput<'a>
Source§fn clone(&self) -> AssertionInput<'a>
fn clone(&self) -> AssertionInput<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for AssertionInput<'a>
impl<'a> RefUnwindSafe for AssertionInput<'a>
impl<'a> Send for AssertionInput<'a>
impl<'a> Sync for AssertionInput<'a>
impl<'a> Unpin for AssertionInput<'a>
impl<'a> UnsafeUnpin for AssertionInput<'a>
impl<'a> UnwindSafe for AssertionInput<'a>
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