Skip to content

Models

models

SQLModel database models for FastAuth.

Defines all database tables used by FastAuth including users, tokens, sessions, roles, permissions, and OAuth accounts. All models use SQLModel for compatibility with both SQLAlchemy and Pydantic.

Classes

User

Bases: SQLModel

User account model with authentication and profile fields.