UserManager<TUser>.VerifyPasswordAsync Metodo

Definizione

Restituisce un PasswordVerificationResult valore che indica il risultato di un confronto dell'hash delle password.

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)

Parametri

store
IUserPasswordStore<TUser>

Archivio contenente la password di un utente.

user
TUser

Utente la cui password deve essere verificata.

password
String

Password da verificare.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona contenente l'oggetto PasswordVerificationResult dell'operazione.

Si applica a