UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.SetPhoneNumberConfirmedAsync Metodo

Definizione

Imposta un flag che indica se il numero di telefono specificato userè stato confermato.

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

Parametri

user
TUser

L'utente il cui stato di conferma del numero di telefono deve essere impostato.

confirmed
Boolean

Flag che indica se il numero di telefono dell'utente è stato confermato.

cancellationToken
CancellationToken

Oggetto CancellationToken usato per propagare le notifiche di richiesta di annullamento dell'operazione.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona.

Implementazioni

Si applica a