UserPasswordValidationPolicy class
User level password validation policy.
Constructors
-
UserPasswordValidationPolicy({Input<
int> ? allowedFailedAttempts, Input<bool> ? enableFailedAttemptsCheck, Input<bool> ? enablePasswordVerification, Input<String> ? passwordExpirationDuration}) -
Creates a new UserPasswordValidationPolicy.
allowedFailedAttemptsNumber of failed login attempts allowed before user get locked.enableFailedAttemptsCheckIf true, failed login attempts check will be enabled.enablePasswordVerificationIf true, the user must specify the current password before changing the password. This flag is supported only for MySQL.passwordExpirationDurationExpiration duration after password is updated.const -
UserPasswordValidationPolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowedFailedAttempts
→ Input<
int> ? -
Number of failed login attempts allowed before user get locked.
final
-
enableFailedAttemptsCheck
→ Input<
bool> ? -
If true, failed login attempts check will be enabled.
final
-
enablePasswordVerification
→ Input<
bool> ? -
If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
passwordExpirationDuration
→ Input<
String> ? -
Expiration duration after password is updated.
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