Expand description
Canonical identity records and the DTOs the flows exchange.
Structs§
- Identity
- The canonical user record. PII fields (
email,phone) are expected to be encrypted at rest by the app’sUserStorevia the complianceCryptoVault; this struct is the decrypted view a handler sees. - MfaState
- Which second factors an identity has enrolled.
- Register
Request - Registration input. Password is optional to support passwordless-first signup.
- Token
Response - The token pair returned to a successful authentication. Shape mirrors the familiar OAuth2 token response so existing clients need no changes.
Enums§
- Account
Status - Lifecycle state of an account. Only
Activemay authenticate. - Login
Outcome - The result of a login attempt: either fully authenticated (tokens issued) or a second factor is still required.