ceremony
ModulePasskey registration and sign-in ceremonies: the options sent to the browser, the state kept in between, and the verification of what comes back.
Contents
Structs
CeremonyWebAuthn registration and sign-in for one relying party: discoverable credentials, required user verification, no attestation.ChallengeA started ceremony: options for the browser and the opaque state to keep until the credential comes back.CounterThe signature counter policy: the counter must increase, except for synced (backup-eligible) passkeys and authenticators without a counter (always 0).CredentialA verified passkey: the record to store and the identifier to find it by.StrictCounterThe strict signature counter policy: the counter must always increase.use utopia_auth::passkeys::ceremony::Ceremony;Rust
pub struct CeremonyWebAuthn registration and sign-in for one relying party: discoverable credentials, required user verification, no attestation.
use utopia_auth::passkeys::ceremony::Challenge;Rust
pub struct ChallengeA started ceremony: options for the browser and the opaque state to keep until the credential comes back.
use utopia_auth::passkeys::ceremony::Counter;Rust
pub struct CounterThe signature counter policy: the counter must increase, except for synced (backup-eligible) passkeys and authenticators without a counter (always 0).
use utopia_auth::passkeys::ceremony::Credential;Rust
pub struct CredentialA verified passkey: the record to store and the identifier to find it by.
use utopia_auth::passkeys::ceremony::StrictCounter;Rust
pub struct StrictCounterThe strict signature counter policy: the counter must always increase.
Rust
pub const TIMEOUT: i64 = 300Seconds a ceremony stays valid.