pub struct PasskeyCredential {
pub id: String,
pub signature: Binary,
pub authenticator_data: Binary,
pub client_data: ClientData,
pub user_handle: Option<String>,
pub pubkey: Option<Binary>,
}Fields§
§id: StringPasskey id
signature: BinarySecp256r1 signature
authenticator_data: Binarywebauthn Authenticator data
client_data: ClientDataClient data containg challenge, origin and type
user_handle: Option<String>Optional user handle reserved for future use
pubkey: Option<Binary>Public key is essential for verification but can be supplied on the contract side and omitted by client
Trait Implementations§
Source§impl Clone for PasskeyCredential
impl Clone for PasskeyCredential
Source§fn clone(&self) -> PasskeyCredential
fn clone(&self) -> PasskeyCredential
Returns a copy 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 Debug for PasskeyCredential
impl Debug for PasskeyCredential
Source§impl PartialEq for PasskeyCredential
impl PartialEq for PasskeyCredential
Source§impl Verifiable for PasskeyCredential
impl Verifiable for PasskeyCredential
impl StructuralPartialEq for PasskeyCredential
Auto Trait Implementations§
impl Freeze for PasskeyCredential
impl RefUnwindSafe for PasskeyCredential
impl Send for PasskeyCredential
impl Sync for PasskeyCredential
impl Unpin for PasskeyCredential
impl UnwindSafe for PasskeyCredential
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