UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.GetSecurityStampAsync Metodo

Definizione

Ottenere il timbro di sicurezza per l'oggetto specificato user.

public virtual System.Threading.Tasks.Task<string> GetSecurityStampAsync (TUser user, System.Threading.CancellationToken cancellationToken = default);
public virtual System.Threading.Tasks.Task<string?> GetSecurityStampAsync (TUser user, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityStampAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.GetSecurityStampAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function GetSecurityStampAsync (user As TUser, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parametri

user
TUser

Utente il cui timbro di sicurezza deve essere impostato.

cancellationToken
CancellationToken

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

Restituisce

Oggetto Task che rappresenta l'operazione asincrona contenente il timbro di sicurezza per l'oggetto specificato user.

Implementazioni

Si applica a