IUserPhoneNumberStore<TUser>.SetPhoneNumberConfirmedAsync(TUser, Boolean, CancellationToken) Method

Definition

Sets a flag indicating if the specified user's phone number has been confirmed.

public:
 System::Threading::Tasks::Task ^ SetPhoneNumberConfirmedAsync(TUser user, bool confirmed, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task SetPhoneNumberConfirmedAsync (TUser user, bool confirmed, System.Threading.CancellationToken cancellationToken);
abstract member SetPhoneNumberConfirmedAsync : 'User * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetPhoneNumberConfirmedAsync (user As TUser, confirmed As Boolean, cancellationToken As CancellationToken) As Task

Parameters

user
TUser

The user whose telephone number confirmation status should be set.

confirmed
Boolean

A flag indicating whether the user's telephone number has been confirmed.

cancellationToken
CancellationToken

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

Returns

Task

The Task that represents the asynchronous operation.

Applies to