PasswordValidator Class

 

Provides properties and methods that are used to validate some basic password policy like length and number of non alphanumerics.

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

System.Object
  Microsoft.AspNet.Identity.PasswordValidator

public class PasswordValidator : IIdentityValidator<string>

NameDescription
System_CAPS_pubmethodPasswordValidator()

Initializes a new instance of the PasswordValidator class.

NameDescription
System_CAPS_pubpropertyRequireDigit

Gets or sets whether the password requires a numeric digit ('0' - '9').

System_CAPS_pubpropertyRequiredLength

Gets or sets the minimum required password length.

System_CAPS_pubpropertyRequireLowercase

Gets or sets whether the password requires a lower case letter ('a' - 'z').

System_CAPS_pubpropertyRequireNonLetterOrDigit

Gets or sets whether the password requires a non-letter or digit character.

System_CAPS_pubpropertyRequireUppercase

Gets or sets whether the password requires an upper case letter ('A' - 'Z').

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDigit(Char)

Determines whether the character is a digit between '0' and '9'.

System_CAPS_pubmethodIsLetterOrDigit(Char)

Determines whether the character is a letter or a digit.

System_CAPS_pubmethodIsLower(Char)

Determines whether the character is between 'a' and 'z'.

System_CAPS_pubmethodIsUpper(Char)

Determines whether the character is between 'A' and 'Z'.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidateAsync(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.

Return to top
Show: