Condividi tramite


IUserSecurityStampStore<TUser>.SetSecurityStampAsync Metodo

Definizione

Imposta la sicurezza stamp fornita per l'oggetto specificato user.

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

Parametri

user
TUser

Utente il cui timbro di sicurezza deve essere impostato.

stamp
String

Indicatore di sicurezza da impostare.

cancellationToken
CancellationToken

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

Restituisce

Oggetto Task che rappresenta l'operazione asincrona.

Si applica a