Expand description
WebAuthn credential descriptor and protocol DTOs (options, responses,
results).
This module is storage-free. It defines the WebauthnCredential
record (including the sign-count state that callers must persist) and the
JSON wire structures exchanged with the browser. Persisting, looking up,
and updating credentials is the integrator’s job; see the crate-level
documentation for the recommended storage contract.
Structs§
- Allow
Credential - Credential allowed for authentication.
- Authentication
Options - Options sent to the client for authentication
(
navigator.credentials.get()). - Authentication
Response - Response from the client during authentication
(
navigator.credentials.get()response). - Authentication
Result - Result of a successful authentication.
- Authenticator
Selection - Authenticator selection criteria.
- Exclude
Credential - Credential to exclude from registration (prevent re-registration).
- PubKey
Cred Param - Public key credential parameter (algorithm + type).
- Registration
Options - Options sent to the client for credential registration
(
navigator.credentials.create()). - Registration
Response - Response from the client during registration
(
navigator.credentials.create()response). - Registration
Result - Result of a successful registration.
- Relying
Party - Relying party descriptor.
- Webauthn
Credential - A registered
WebAuthncredential. - Webauthn
User - User descriptor for registration.