IUserSecurityStampStore<TUser>.GetSecurityStampAsync Metoda

Definice

Získejte bezpečnostní razítko pro zadané user.

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

Parametry

user
TUser

Uživatel, jehož bezpečnostní razítko by mělo být nastaveno.

cancellationToken
CancellationToken

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

Návraty

Task<String>

To Task představuje asynchronní operaci, která obsahuje bezpečnostní razítko zadaného user.

Platí pro