PasswordValidator Class
Provides properties and methods that are used to validate some basic password policy like length and number of non alphanumerics.
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
| Name | Description | |
|---|---|---|
![]() | PasswordValidator() | Initializes a new instance of the PasswordValidator class. |
| Name | Description | |
|---|---|---|
![]() | RequireDigit | Gets or sets whether the password requires a numeric digit ('0' - '9'). |
![]() | RequiredLength | Gets or sets the minimum required password length. |
![]() | RequireLowercase | Gets or sets whether the password requires a lower case letter ('a' - 'z'). |
![]() | RequireNonLetterOrDigit | Gets or sets whether the password requires a non-letter or digit character. |
![]() | RequireUppercase | Gets or sets whether the password requires an upper case letter ('A' - 'Z'). |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDigit(Char) | Determines whether the character is a digit between '0' and '9'. |
![]() | IsLetterOrDigit(Char) | Determines whether the character is a letter or a digit. |
![]() | IsLower(Char) | Determines whether the character is between 'a' and 'z'. |
![]() | IsUpper(Char) | Determines whether the character is between 'A' and 'Z'. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | ValidateAsync(String) | Asynchronously ensures that the string is of the required length and meets the configured requirements. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


