Delen via


UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.SetPhoneNumberConfirmedAsync 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 = default);
abstract member SetPhoneNumberConfirmedAsync : 'User * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetPhoneNumberConfirmedAsync : 'User * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetPhoneNumberConfirmedAsync (user As TUser, confirmed As Boolean, Optional cancellationToken As CancellationToken = Nothing) 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

The Task that represents the asynchronous operation.

Implements

Applies to