Versions in this module Expand all Collapse all v0 v0.1.0 Jul 21, 2025 Changes in this version + const TableNameAccessToken + const TableNameApp + const TableNameAuth + const TableNameCode + const TableNameConsent + const TableNameDiscord + const TableNameIDToken + const TableNameOidcAuthorization + const TableNameOidcToken + const TableNameRedirectURI + const TableNameRefreshToken + const TableNameRole + const TableNameSession + const TableNameTokenSet + const TableNameUser + const TableNameUserApp + const TableNameUserRole + type AccessToken struct + ClientID string + Exp time.Time + Hash string + ID int32 + IssuedAt time.Time + Revoked bool + Scope string + Type string + UserID string + func (*AccessToken) TableName() string + type App struct + Aud string + ClientID string + ClientSecret string + CreatedAt time.Time + ID string + IsEnable bool + Name string + func (*App) TableName() string + type Auth struct + AppID string + AuthUserID string + CreatedAt time.Time + ID int32 + IsEnable bool + func (*Auth) TableName() string + type Code struct + CreatedAt time.Time + Exp time.Time + ID int32 + IsEnable bool + Token string + func (*Code) TableName() string + type Consent struct + ID int32 + IsEnable bool + Scope string + func (*Consent) TableName() string + type Discord struct + DiscordID string + ID int32 + UserID string + func (*Discord) TableName() string + type IDToken struct + Acr string + Amr string + Aud string + AuthTime time.Time + ClientID string + Exp time.Time + Hash string + ID int32 + IssuedAt time.Time + Jti string + Nonce string + Revoked bool + Scope string + Type string + UserID string + func (*IDToken) TableName() string + type OidcAuthorization struct + AuthID int32 + CodeID int32 + ConsentID int32 + CreatedAt time.Time + ID int32 + func (*OidcAuthorization) TableName() string + type OidcToken struct + AccessTokenID int32 + ID int32 + IsEnable bool + OidcAuthorizationID int32 + RefreshTokenID int32 + func (*OidcToken) TableName() string + type RedirectURI struct + AppID string + CreatedAt time.Time + ID int32 + URI string + func (*RedirectURI) TableName() string + type RefreshToken struct + ClientID string + Exp time.Time + Hash string + ID int32 + IssuedAt time.Time + Revoked bool + Type string + UserID string + func (*RefreshToken) TableName() string + type Role struct + CreatedAt time.Time + CustomID string + ID string + IsEnable bool + Permissions int32 + System bool + UpdatedAt time.Time + func (*Role) TableName() string + type Session struct + CreatedAt time.Time + ID string + IPAddress string + IsEnable bool + UserAgent string + UserID string + func (*Session) TableName() string + type TokenSet struct + AccessTokenID int32 + ID int32 + IsEnable bool + OidcAuthorizationID int32 + RefreshTokenID int32 + func (*TokenSet) TableName() string + type User struct + CreatedAt time.Time + CustomID string + Email string + ExternalEmail string + ID string + IsEnable bool + IsSystem bool + JoinedAt *time.Time + Name string + PasswordHash string + Period string + UpdatedAt time.Time + func (*User) TableName() string + type UserApp struct + AppID string + ID int32 + UserID string + func (*UserApp) TableName() string + type UserRole struct + ID int32 + RoleID string + UserID string + func (*UserRole) TableName() string