UserManager<TUser>.ValidatePasswordAsync(TUser, String) 메서드

정의

유효성 검사에 성공하면 를 반환 Success 해야 합니다. 암호 해시를 업데이트하기 전에 호출됩니다.

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);
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)

매개 변수

user
TUser

사용자.

password
String

암호입니다.

반환

IdentityResult 유효성 검사에 성공했는지 여부를 나타내는 입니다.

적용 대상