Expand description
Authoritative field registry for Alibi entity schemas.
Shared by the AuthEntity proc macro (for compile-time validation)
and the CLI (for code generation). This is the single source of truth
for which fields belong to core vs which are plugin-provided.
Structs§
Enums§
Constants§
- POSTGRES_
AUTH_ SCHEMA - POSTGRES_
OAUTH_ SCHEMA - POSTGRES_
RATE_ LIMIT_ SCHEMA - POSTGRES_
SCIM_ BINDING_ SCHEMA - POSTGRES_
SCIM_ CANONICAL_ SCHEMA - POSTGRES_
SCIM_ MANAGED_ SCHEMA - POSTGRES_
SSO_ SCHEMA - SQLITE_
AUTH_ SCHEMA - Exact bundled SQL compiled from the pinned Better Auth TypeScript schema.
- SQLITE_
OAUTH_ SCHEMA - SQLITE_
RATE_ LIMIT_ SCHEMA - SQLITE_
SCIM_ BINDING_ SCHEMA - SQLITE_
SCIM_ CANONICAL_ SCHEMA - SQLITE_
SCIM_ MANAGED_ SCHEMA - SQLITE_
SSO_ SCHEMA
Functions§
- core_
field_ names - Core field names only (convenience for the macro).
- core_
fields - Core fields that are always required for a given entity role.
- plugin_
field_ names - All plugin field names for a given role (convenience for the macro).
- plugin_
schemas - Plugin schemas — each plugin can add fields to user and/or session entities.