PasswordValidationPolicy class
Database instance local user password validation policy
Constructors
- PasswordValidationPolicy.new({String? complexity, bool? disallowCompromisedCredentials, bool? disallowUsernameSubstring, bool? enablePasswordPolicy, int? minLength, String? passwordChangeInterval, int? reuseInterval})
- PasswordValidationPolicy.fromJson(Map json_)
Properties
- complexity ↔ String?
-
The complexity of the password.
Possible string values are:
getter/setter pair
- disallowCompromisedCredentials ↔ bool?
-
Disallow credentials that have been previously compromised by a public
data breach.
getter/setter pair
- disallowUsernameSubstring ↔ bool?
-
Disallow username as a part of the password.
getter/setter pair
- enablePasswordPolicy ↔ bool?
-
Whether the password policy is enabled or not.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- minLength ↔ int?
-
Minimum number of characters allowed.
getter/setter pair
- passwordChangeInterval ↔ String?
-
Minimum interval after which the password can be changed.
getter/setter pair
- reuseInterval ↔ int?
-
Number of previous passwords that cannot be reused.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited