Documentation
¶
Index ¶
Constants ¶
View Source
const ( PasswordPolicyBasic = "basic" PasswordPolicyStandard = "standard" PasswordPolicyStrong = "strong" )
Variables ¶
This section is empty.
Functions ¶
func IsValidUserEmail ¶
func ValidateCredentialTargetChange ¶ added in v2.5.0
func ValidateCredentialTargetChange( targetName string, currentTarget string, nextTarget *string, normalize func(string) string, storedCredentials map[string]bool, updatedCredentials map[string]bool, ) error
ValidateCredentialTargetChange prevents stored credentials from being reused against a changed target unless the update explicitly handles them.
func ValidatePasswordPolicy ¶ added in v2.7.0
ValidatePasswordPolicy checks a password against the named policy tier. Unknown policy values are treated as strong so a corrupted setting fails closed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.