PasswordValidator.ValidateAsync Method (String)

 

Asynchronously ensures that the string is of the required length and meets the configured requirements.

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

Syntax

public virtual Task<IdentityResult> ValidateAsync(
    string item
)
public:
virtual Task<IdentityResult^>^ ValidateAsync(
    String^ item
)
abstract ValidateAsync : 
        item:string -> Task<IdentityResult>
override ValidateAsync : 
        item:string -> Task<IdentityResult>
Public Overridable Function ValidateAsync (
    item As String
) As Task(Of IdentityResult)

Parameters

Return Value

Type: System.Threading.Tasks.Task<IdentityResult>

The task object representing the asynchronous operation.

Implements

IIdentityValidator<T>.ValidateAsync(T)

See Also

PasswordValidator Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top