UserManager<TUser>.ValidatePasswordAsync(TUser, String) Method
Definition
Should return Success if validation is successful. This is called before updating the password hash.
protected:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ ValidatePasswordAsync(TUser user, System::String ^ password);
protected System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> ValidatePasswordAsync (TUser user, string password);
member this.ValidatePasswordAsync : 'User * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Protected Function ValidatePasswordAsync (user As TUser, password As String) As Task(Of IdentityResult)
Parameters
- user
- TUser
The user.
- password
- String
The password.
Returns
A IdentityResult representing whether validation was successful.