type
AuthSettings
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"`
}Public resolved authentication policy.
IdentityFieldstring- The IdentityField value.
SessionDurationSecondsint64- The SessionDurationSeconds value.
PasswordMinLengthint- The PasswordMinLength value.
PasswordMaxBytesint- The PasswordMaxBytes value.
PasswordBcryptCostint- The PasswordBcryptCost value.
MaxLoginAttemptsint- The MaxLoginAttempts value.
LockDurationSecondsint64- The LockDurationSeconds value.
PasswordResetbool- The PasswordReset value.
PasswordResetTokenDurationSecondsint64- The PasswordResetTokenDurationSeconds value.
VerifyEmailbool- The VerifyEmail value.
VerificationTokenDurationSecondsint64- The VerificationTokenDurationSeconds value.
APIKeysbool- The APIKeys value.