Expand description
Core tables: user, session, account, verification.
Structsยง
- Account
- A way to sign in:
provider_id = "credential"holds the password hash; OAuth providers hold encrypted tokens. - Session
- A row of
session. The token itself is never stored, only its SHA-256. - User
- The core columns of
user. Plugin and app columns live on the same row; read them fromAuthUser(typed) orUserView::fields(inside plugins). - Verification
- Single-use values: email verification, password reset, OAuth state, OTPs.
identifiersays what the value is for; only the hash of the value is stored.