PasswordUtility
@objc
public class PasswordUtility : NSObject, InitializationStateProvider
Utility class to provide password strength checking functionality.
-
The
PasswordUtility
singleton instance.Declaration
Swift
public static let shared: PasswordUtility
-
Check the strength of a password.
Declaration
Swift
public func checkPasswordStrength(_ password: String) -> PasswordStrengthErrorType
Parameters
password
the password to check
Return Value