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

Definition

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

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

Parameters

user
TUser TUser

The user whose telephone number confirmation status should be set.

confirmed
Boolean Boolean

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

cancellationToken
CancellationToken CancellationToken

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

Returns

The Task that represents the asynchronous operation.

Implements

Applies to