type
AuthSettings
Public resolved authentication policy.
Properties
| Property | Type | Description |
|---|---|---|
IdentityField | string | The IdentityField value. |
SessionDurationSeconds | int64 | The SessionDurationSeconds value. |
PasswordMinLength | int | The PasswordMinLength value. |
PasswordMaxBytes | int | The PasswordMaxBytes value. |
PasswordBcryptCost | int | The PasswordBcryptCost value. |
MaxLoginAttempts | int | The MaxLoginAttempts value. |
LockDurationSeconds | int64 | The LockDurationSeconds value. |
PasswordReset | bool | The PasswordReset value. |
PasswordResetTokenDurationSeconds | int64 | The PasswordResetTokenDurationSeconds value. |
VerifyEmail | bool | The VerifyEmail value. |
VerificationTokenDurationSeconds | int64 | The VerificationTokenDurationSeconds value. |
APIKeys | bool | The APIKeys value. |
Full signature
type AuthSettings struct {
IdentityField string `json:"identityField"`
SessionDurationSeconds int64 `json:"sessionDurationSeconds"`
PasswordMinLength int `json:"passwordMinLength"`
PasswordMaxBytes int `json:"passwordMaxBytes"`
PasswordBcryptCost int `json:"passwordBcryptCost"`
MaxLoginAttempts int `json:"maxLoginAttempts"`
LockDurationSeconds int64 `json:"lockDurationSeconds"`
PasswordReset bool `json:"passwordReset"`
PasswordResetTokenDurationSeconds int64 `json:"passwordResetTokenDurationSeconds"`
VerifyEmail bool `json:"verifyEmail"`
VerificationTokenDurationSeconds int64 `json:"verificationTokenDurationSeconds"`
APIKeys bool `json:"apiKeys"`
}