Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TwoFactorTypeNone = TwoFactorType("none") TwoFactorTypeEmail = TwoFactorType("email") )
Functions ¶
This section is empty.
Types ¶
type InviteCode ¶
type RefreshToken ¶
type Repo ¶
type Repo struct {
Did string `gorm:"primaryKey"`
CreatedAt time.Time
Email string `gorm:"uniqueIndex"`
EmailConfirmedAt *time.Time
EmailVerificationCode *string
EmailVerificationCodeExpiresAt *time.Time
EmailUpdateCode *string
EmailUpdateCodeExpiresAt *time.Time
PasswordResetCode *string
PasswordResetCodeExpiresAt *time.Time
PlcOperationCode *string
PlcOperationCodeExpiresAt *time.Time
AccountDeleteCode *string
AccountDeleteCodeExpiresAt *time.Time
Password string
SigningKey []byte
Rev string
Root []byte
Preferences []byte
Deactivated bool
TwoFactorCode *string
TwoFactorCodeExpiresAt *time.Time
TwoFactorType TwoFactorType `gorm:"default:none"`
}
type ReservedKey ¶ added in v0.7.0
type TwoFactorType ¶ added in v0.8.0
type TwoFactorType string
Click to show internal directories.
Click to hide internal directories.