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

Definition

Gets the normalized user name for the specified user.

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

Parameters

user
TUser TUser

The user whose normalized name should be retrieved.

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 normalized user name for the specified user.

Implements

Applies to