IUserPasswordStore<TUser>.GetPasswordHashAsync Metodo

Definizione

Ottiene l'hash della password per l'oggetto specificato 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)

Parametri

user
TUser

Utente il cui hash della password da recuperare.

cancellationToken
CancellationToken

Oggetto CancellationToken usato per propagare le notifiche di richiesta di annullamento dell'operazione.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona, restituendo l'hash della password per l'oggetto specificato user.

Si applica a