PasswordValidationPolicy class

Database instance local user password validation policy.

This message defines the password policy for local database users. When enabled, it enforces constraints on password complexity, length, and reuse. Keep this policy enabled to help prevent unauthorized access.

Constructors

PasswordValidationPolicy({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?
This field is deprecated and will be removed in a future version of the API.
getter/setter pair
disallowUsernameSubstring ↔ bool?
Disallow username as a part of the password.
getter/setter pair
enablePasswordPolicy ↔ bool?
Whether to enable the password policy 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