UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.GetSecurityStampAsync(TUser, CancellationToken) UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.GetSecurityStampAsync(TUser, CancellationToken) Method

Definition

Get the security stamp for the specified user.

public virtual System.Threading.Tasks.Task<string> GetSecurityStampAsync (TUser user, System.Threading.CancellationToken cancellationToken = null);
abstract member GetSecurityStampAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.GetSecurityStampAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>

Parameters

user
TUser TUser

The user whose security stamp should be set.

cancellationToken
CancellationToken CancellationToken

The CancellationToken used to propagate notifications that the operation should be canceled.

Returns

The Task that represents the asynchronous operation, containing the security stamp for the specified user.

Implements

Applies to