pub struct PasskeyCreation {
pub rp_id: String,
pub origin: String,
pub challenge: Vec<u8>,
pub user_id: Vec<u8>,
pub user_name: String,
pub display_name: String,
pub exclude_credential_ids: Vec<Vec<u8>>,
}Expand description
What making a passkey needs: the platform’s options. User verification
is required. Not on the wire: the client makes it from a
PasskeyRegistrationBegun.
Fields§
§rp_id: StringThe relying party to make it for: the server’s,
<server id>.spoolframe.app. Never spoolframe.app itself.
origin: StringThe origin a platform that takes one writes into clientDataJSON:
https://<server id>.spoolframe.app. The server accepts no other.
challenge: Vec<u8>To sign: app_passkey_challenge of the server and its nonce.
user_id: Vec<u8>The user handle: random, this server’s for this user.
user_name: StringThe account’s name in the platform’s passkey list,
<username> @ <server name>: the relying party is an opaque id, so
the server’s name says which server it is.
display_name: StringThe user’s display name, or their username without one.
exclude_credential_ids: Vec<Vec<u8>>The user’s app passkeys on this server: an authenticator holding one of these is not to make another.