type

AuthSettings

Public resolved authentication policy.

Properties

PropertyTypeDescription
IdentityFieldstringThe IdentityField value.
SessionDurationSecondsint64The SessionDurationSeconds value.
PasswordMinLengthintThe PasswordMinLength value.
PasswordMaxBytesintThe PasswordMaxBytes value.
PasswordBcryptCostintThe PasswordBcryptCost value.
MaxLoginAttemptsintThe MaxLoginAttempts value.
LockDurationSecondsint64The LockDurationSeconds value.
PasswordResetboolThe PasswordReset value.
PasswordResetTokenDurationSecondsint64The PasswordResetTokenDurationSeconds value.
VerifyEmailboolThe VerifyEmail value.
VerificationTokenDurationSecondsint64The VerificationTokenDurationSeconds value.
APIKeysboolThe 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"` }

Source schema/manifest.go:283