UserManager<TUser>.VerifyPasswordAsync Yöntem

Tanım

PasswordVerificationResult Parola karması karşılaştırmasının sonucunu gösteren bir döndürür.

protected:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::PasswordVerificationResult> ^ VerifyPasswordAsync(Microsoft::AspNetCore::Identity::IUserPasswordStore<TUser> ^ store, TUser user, System::String ^ password);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.PasswordVerificationResult> VerifyPasswordAsync (Microsoft.AspNetCore.Identity.IUserPasswordStore<TUser> store, TUser user, string password);
abstract member VerifyPasswordAsync : Microsoft.AspNetCore.Identity.IUserPasswordStore<'User (requires 'User : null)> * 'User * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.PasswordVerificationResult>
override this.VerifyPasswordAsync : Microsoft.AspNetCore.Identity.IUserPasswordStore<'User (requires 'User : null)> * 'User * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.PasswordVerificationResult>
Protected Overridable Function VerifyPasswordAsync (store As IUserPasswordStore(Of TUser), user As TUser, password As String) As Task(Of PasswordVerificationResult)

Parametreler

store
IUserPasswordStore<TUser>

Kullanıcının parolasını içeren depo.

user
TUser

Parolası doğrulanması gereken kullanıcı.

password
String

Doğrulanması gereken parola.

Döndürülenler

işlemini Task içeren zaman uyumsuz işlemi temsil eden PasswordVerificationResult .

Şunlara uygulanır