IUserPasswordStore<TUser>.GetPasswordHashAsync Metoda

Definice

Získá hodnotu hash hesla pro zadaný user.

public:
 System::Threading::Tasks::Task<System::String ^> ^ GetPasswordHashAsync(TUser user, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<string> GetPasswordHashAsync (TUser user, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<string?> GetPasswordHashAsync (TUser user, System.Threading.CancellationToken cancellationToken);
abstract member GetPasswordHashAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetPasswordHashAsync (user As TUser, cancellationToken As CancellationToken) As Task(Of String)

Parametry

user
TUser

Uživatel, jehož hodnota hash hesla se má načíst.

cancellationToken
CancellationToken

Slouží CancellationToken k šíření oznámení, že operace by měla být zrušena.

Návraty

Jedná se Task o asynchronní operaci, která vrací hodnotu hash hesla pro zadanou user.

Platí pro