PasswordValidator<TUser> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the default password policy for Identity.
generic <typename TUser>
where TUser : classpublic ref class PasswordValidator : Microsoft::AspNetCore::Identity::IPasswordValidator<TUser>
public class PasswordValidator<TUser> : Microsoft.AspNetCore.Identity.IPasswordValidator<TUser> where TUser : class
type PasswordValidator<'User (requires 'User : null)> = class
interface IPasswordValidator<'User (requires 'User : null)>
Public Class PasswordValidator(Of TUser)
Implements IPasswordValidator(Of TUser)
- TUser
The type that represents a user.
- Inheritance
-
PasswordValidator<TUser>
- Implements
Password |
Constructions a new instance of PasswordValidator<TUser>. |
Describer |
Gets the IdentityErrorDescriber used to supply error text. |
Is |
Returns a flag indicating whether the supplied character is a digit. |
Is |
Returns a flag indicating whether the supplied character is an ASCII letter or digit. |
Is |
Returns a flag indicating whether the supplied character is a lower case ASCII letter. |
Is |
Returns a flag indicating whether the supplied character is an upper case ASCII letter. |
Validate |
Validates a password as an asynchronous operation. |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |