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 = default);
abstract member GetPhoneNumberConfirmedAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.GetPhoneNumberConfirmedAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function GetPhoneNumberConfirmedAsync (user As TUser, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Parameters
- user
- TUser
The user to return a flag for, indicating whether their telephone number is confirmed.
- 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.