pub struct PasskeyRegistrationBegun {
pub nonce: Vec<u8>,
pub user_id: Vec<u8>,
pub user_name: String,
pub display_name: String,
pub exclude_credential_ids: Vec<Vec<u8>>,
}Expand description
A server’s answer to BeginPasskeyRegistration, on the wire: a nonce,
not a challenge. PasskeyRegistrationBegun::for_server makes the
PasskeyCreation the platform is given.
Fields§
§nonce: Vec<u8>Of use once, for 5 minutes, from this device.
user_id: Vec<u8>The user handle: random, this server’s for this user.
user_name: String§display_name: String§exclude_credential_ids: Vec<Vec<u8>>Implementations§
Source§impl PasskeyRegistrationBegun
impl PasskeyRegistrationBegun
Sourcepub fn for_server(
self,
server: &[u8; 32],
server_id: &ServerId,
) -> PasskeyCreation
pub fn for_server( self, server: &[u8; 32], server_id: &ServerId, ) -> PasskeyCreation
What the platform makes the passkey with, for the server whose
endpoint id is server, the one the client dialled, and whose
server id is server_id, the one it pinned with it.
Trait Implementations§
Source§impl Clone for PasskeyRegistrationBegun
impl Clone for PasskeyRegistrationBegun
Source§impl Debug for PasskeyRegistrationBegun
impl Debug for PasskeyRegistrationBegun
Source§impl<'de> Deserialize<'de> for PasskeyRegistrationBegun
impl<'de> Deserialize<'de> for PasskeyRegistrationBegun
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
impl Eq for PasskeyRegistrationBegun
Source§impl PartialEq for PasskeyRegistrationBegun
impl PartialEq for PasskeyRegistrationBegun
Source§impl Serialize for PasskeyRegistrationBegun
impl Serialize for PasskeyRegistrationBegun
impl StructuralPartialEq for PasskeyRegistrationBegun
Auto Trait Implementations§
impl Freeze for PasskeyRegistrationBegun
impl RefUnwindSafe for PasskeyRegistrationBegun
impl Send for PasskeyRegistrationBegun
impl Sync for PasskeyRegistrationBegun
impl Unpin for PasskeyRegistrationBegun
impl UnsafeUnpin for PasskeyRegistrationBegun
impl UnwindSafe for PasskeyRegistrationBegun
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