PasswordPolicyProvider
public protocol PasswordPolicyProvider
The protocol defining the PasswordPolicy
.
See
PasswordEnroller
See
PasswordChanger
-
passwordPolicy()
Default implementationReturns the object defining the constraints of the password (minimum length, required special characters, etc.).
Default Implementation
Declaration
Swift
func passwordPolicy() -> PasswordPolicy
Return Value
the
PasswordPolicy
.