Share via


IUserPhoneNumberStore<TUser>.GetPhoneNumberConfirmedAsync Method

Definition

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

public:
 System::Threading::Tasks::Task<bool> ^ GetPhoneNumberConfirmedAsync(TUser user, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<bool> GetPhoneNumberConfirmedAsync (TUser user, System.Threading.CancellationToken cancellationToken);
abstract member GetPhoneNumberConfirmedAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function GetPhoneNumberConfirmedAsync (user As TUser, cancellationToken As CancellationToken) 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.

Applies to