Expand description
ORM-agnostic domain types for yauth.
These types cross the repository trait boundary and have no backend-specific dependencies. Each backend converts between its internal ORM-annotated models and these types via private conversion methods.
Structsยง
- Account
Lock - ApiKey
- Authorization
Code - Backup
Code - Consent
- Device
Code - Email
Verification - Magic
Link - NewAccount
Lock - NewApi
Key - NewAudit
Log - NewAuthorization
Code - NewBackup
Code - NewConsent
- NewDevice
Code - NewEmail
Verification - NewMagic
Link - NewOauth2
Client - NewOauth
Account - NewOauth
State - NewPassword
- NewPassword
Reset - NewRefresh
Token - NewSession
- NewTotp
Secret - NewUnlock
Token - NewUser
- NewWebauthn
Credential - NewWebhook
- NewWebhook
Delivery - Oauth2
Client - Oauth
Account - Oauth
State - Password
- Password
Reset - Rate
Limit Result - Result of a rate limit check.
- Refresh
Token - Session
- Stored
Session - A session record as stored by the backend.
- Totp
Secret - Unlock
Token - Update
User - Update
Webhook - User
- Webauthn
Credential - Webhook
- Webhook
Delivery