Class CustomerPasswordConstraints
Provides access to the constraints of customer passwords. An instance of this class can be obtained via CustomerMgr.getPasswordConstraints().
Property Summary
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
Methods inherited from class Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Property Details
forceLetters
- forceLetters: Boolean
(read-only)
Returns true if letters are enforced.
forceMixedCase
- forceMixedCase: Boolean
(read-only)
Returns true if mixed case is enforced.
forceNumbers
- forceNumbers: Boolean
(read-only)
Returns true if numbers are enforced.
minLength
- minLength: Number
(read-only)
Returns the minimum length.
minSpecialChars
- minSpecialChars: Number
(read-only)
Returns the minimum number of special characters.
Method Details
getMinLength()
- static getMinLength(): Number
Returns the minimum length.
Returns:
getMinSpecialChars()
- static getMinSpecialChars(): Number
Returns the minimum number of special characters.
Returns:
- the minimum number of special characters
isForceLetters()
- static isForceLetters(): Boolean
Returns true if letters are enforced.
Returns:
isForceMixedCase()
- static isForceMixedCase(): Boolean
Returns true if mixed case is enforced.
Returns:
- if mixed case is enforced
isForceNumbers()
- static isForceNumbers(): Boolean
Returns true if numbers are enforced.
Returns: