PasswordPolicy class

Represents the rules for valid passwords.

The policy is configured in the password settings in the Descope console, and these values can be used to implement client-side validation of new user passwords for a better user experience.

In any case, all password rules are enforced by Descope on the server side as well.

Constructors

PasswordPolicy(int minLength, bool lowercase, bool uppercase, bool number, bool nonAlphanumeric)

Properties

hashCode int
The hash code for this object.
no setterinherited
lowercase bool
final
minLength int
final
nonAlphanumeric bool
final
number bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uppercase bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited