PasswordPolicy class

Contains information about the account password policy.

This data type is used as a response element in the GetAccountPasswordPolicy operation.

Constructors

PasswordPolicy({bool? allowUsersToChangePassword, bool? expirePasswords, bool? hardExpiry, int? maxPasswordAge, int? minimumPasswordLength, int? passwordReusePrevention, bool? requireLowercaseCharacters, bool? requireNumbers, bool? requireSymbols, bool? requireUppercaseCharacters})
PasswordPolicy.fromXml(XmlElement elem)
factory

Properties

allowUsersToChangePassword bool?
Specifies whether IAM users are allowed to change their own password.
final
expirePasswords bool?
Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.
final
hardExpiry bool?
Specifies whether IAM users are prevented from setting a new password after their password has expired.
final
hashCode int
The hash code for this object.
no setterinherited
maxPasswordAge int?
The number of days that an IAM user password is valid.
final
minimumPasswordLength int?
Minimum length to require for IAM user passwords.
final
passwordReusePrevention int?
Specifies the number of previous passwords that IAM users are prevented from reusing.
final
requireLowercaseCharacters bool?
Specifies whether to require lowercase characters for IAM user passwords.
final
requireNumbers bool?
Specifies whether to require numbers for IAM user passwords.
final
requireSymbols bool?
Specifies whether to require symbols for IAM user passwords.
final
requireUppercaseCharacters bool?
Specifies whether to require uppercase characters for IAM user passwords.
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
toString() String
A string representation of this object.
inherited

Operators

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