Expand description
Entity traits for the Alibi framework.
These traits define the interface that entity types must implement. The framework accesses entity fields through these trait methods, allowing users to define their own entity structs with custom field names and extra fields.
Implement these traits manually for any custom types used inside the auth runtime.
Structs§
- Member
User View - Minimal user info for member-related API responses.
Traits§
- Auth
Account - Trait representing an account entity (OAuth provider linking).
- Auth
ApiKey - Trait representing an API key entity.
- Auth
Invitation - Trait representing an invitation entity.
- Auth
Member - Trait representing an organization member entity.
- Auth
Organization - Trait representing an organization entity.
- Auth
Passkey - Trait representing a passkey entity.
- Auth
Session - Trait representing a session entity.
- Auth
Timestamp - Conversion between an application timestamp field and the auth UTC clock.
- Auth
TwoFactor - Trait representing a two-factor authentication entity.
- Auth
User - Trait representing a user entity.
- Auth
Verification - Trait representing a verification token entity.