PasswordValidationPolicy class

Database instance local user password validation policy

Constructors

PasswordValidationPolicy({Input<PasswordValidationPolicyComplexity>? complexity, Input<bool>? disallowCompromisedCredentials, Input<bool>? disallowUsernameSubstring, Input<bool>? enablePasswordPolicy, Input<int>? minLength, Input<String>? passwordChangeInterval, Input<int>? reuseInterval})
Creates a new PasswordValidationPolicy. complexity The complexity of the password. disallowCompromisedCredentials Disallow credentials that have been previously compromised by a public data breach. disallowUsernameSubstring Disallow username as a part of the password. enablePasswordPolicy Whether the password policy is enabled or not. minLength Minimum number of characters allowed. passwordChangeInterval Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL. reuseInterval Number of previous passwords that cannot be reused.
const
PasswordValidationPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

complexity → Input<PasswordValidationPolicyComplexity>?
The complexity of the password.
final
disallowCompromisedCredentials → Input<bool>?
Disallow credentials that have been previously compromised by a public data breach.
final
disallowUsernameSubstring → Input<bool>?
Disallow username as a part of the password.
final
enablePasswordPolicy → Input<bool>?
Whether the password policy is enabled or not.
final
hashCode → int
The hash code for this object.
no setterinherited
minLength → Input<int>?
Minimum number of characters allowed.
final
passwordChangeInterval → Input<String>?
Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.
final
reuseInterval → Input<int>?
Number of previous passwords that cannot be reused.
final
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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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