Share via


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
System_CAPS_pubmethod MinimumLengthValidator(Int32)

Initializes a new instance of the MinimumLengthValidator class.

Properties

Name Description
System_CAPS_pubproperty RequiredLength

Gets the minimum required length for the password.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod 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