MinimumLengthValidator Class
Represents a minimum length password validator.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Identity.MinimumLengthValidator
Syntax
public class MinimumLengthValidator : IIdentityValidator<string>
public ref class MinimumLengthValidator : IIdentityValidator<String^>
type MinimumLengthValidator =
class
interface IIdentityValidator<string>
end
Public Class MinimumLengthValidator
Implements IIdentityValidator(Of String)
Constructors
Name | Description | |
---|---|---|
MinimumLengthValidator(Int32) | Initializes a new instance of the MinimumLengthValidator class. |
Properties
Name | Description | |
---|---|---|
RequiredLength | Gets the minimum required length for the password. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
ValidateAsync(String) | Ensures that the password is of the required length. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top