mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-13 13:05:30 +00:00
23 lines
421 B
Go
23 lines
421 B
Go
|
|
package policy
|
||
|
|
|
||
|
|
type PasswordAgePolicyDefault struct {
|
||
|
|
Description string
|
||
|
|
MaxAgeDays uint64
|
||
|
|
ExpireWarnDays uint64
|
||
|
|
}
|
||
|
|
|
||
|
|
type PasswordComplexityPolicyDefault struct {
|
||
|
|
Description string
|
||
|
|
MinLength uint64
|
||
|
|
HasLowercase bool
|
||
|
|
HasUppercase bool
|
||
|
|
HasNumber bool
|
||
|
|
HasSymbol bool
|
||
|
|
}
|
||
|
|
|
||
|
|
type PasswordLockoutPolicyDefault struct {
|
||
|
|
Description string
|
||
|
|
MaxAttempts uint64
|
||
|
|
ShowLockOutFailures bool
|
||
|
|
}
|