Skip to main content

Module entity

Module entity 

Source
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§

MemberUserView
Minimal user info for member-related API responses.

Traits§

AuthAccount
Trait representing an account entity (OAuth provider linking).
AuthApiKey
Trait representing an API key entity.
AuthInvitation
Trait representing an invitation entity.
AuthMember
Trait representing an organization member entity.
AuthOrganization
Trait representing an organization entity.
AuthPasskey
Trait representing a passkey entity.
AuthSession
Trait representing a session entity.
AuthTimestamp
Conversion between an application timestamp field and the auth UTC clock.
AuthTwoFactor
Trait representing a two-factor authentication entity.
AuthUser
Trait representing a user entity.
AuthVerification
Trait representing a verification token entity.