PasswordPolicy
@objc
public class PasswordPolicy : NSObject, APIModel
A password policy model.
-
Whether or not password requires to have alphabetic characters.
Declaration
Swift
@objc public var requireAlphabeticCharacter: Bool
-
Whether or not password requires to have lowercase characters.
Declaration
Swift
@objc public var requireLowercaseCharacter: Bool
-
Whether or not password requires to have uppercase characters.
Declaration
Swift
@objc public var requireUppercaseCharacter: Bool
-
Minimum length of the password.
Declaration
Swift
@objc public var minimumPasswordLength: Int
-
Maximum length of the password.
Declaration
Swift
@objc public var maximumPasswordLength: Int
-
The number of unique new passwords that have to be associated with a user account before an old password can be reused.
Declaration
Swift
@objc public var maxPasswordHistory: Int
-
Whether or not password is required to contain numbers.
Declaration
Swift
@objc public var requireNumbers: Bool
-
Whether or not password is required to contain symbols.
Declaration
Swift
@objc public var requireSymbols: Bool
-
The special characters allowed in the password.
Declaration
Swift
@objc public var allowSpecialCharacter: String
-
Whether or not password is required to use allowed characters only, including
[0-9a-zA-Z]
and special characters allowed. Default value istrue
.Declaration
Swift
@objc public var allAllowCharacterCheck: Bool
-
Additional PasswordPolicy properties.
Declaration
Swift
public var additionalProperties: [String : Any?]?
-
Initializer with decoder for PasswordPolicy object.
Declaration
Swift
required public init(from decoder: Decoder) throws
Parameters
decoder
Decoder parameter.