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

Definition

Gets a flag indicating whether the specified user's telephone number has been confirmed.

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

Parameters

user
TUser TUser

The user to return a flag for, indicating whether their telephone number is confirmed.

cancellationToken
CancellationToken CancellationToken

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

Returns

The Task that represents the asynchronous operation, returning true if the specified user has a confirmed telephone number otherwise false.

Implements

Applies to