UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.SetPhoneNumberConfirmedAsync Method (TUser, Boolean)
Asynchronously sets the PhoneNumberConfirmed property for the user.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
public virtual Task SetPhoneNumberConfirmedAsync(
TUser user,
bool confirmed
)
public:
virtual Task^ SetPhoneNumberConfirmedAsync(
TUser user,
bool confirmed
)
abstract SetPhoneNumberConfirmedAsync :
user:'TUser *
confirmed:bool -> Task
override SetPhoneNumberConfirmedAsync :
user:'TUser *
confirmed:bool -> Task
Public Overridable Function SetPhoneNumberConfirmedAsync (
user As TUser,
confirmed As Boolean
) As Task
Parameters
user
Type: TUserThe user.
confirmed
Type: System.Booleantrue to confirm the phone number; otherwise, false.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
Implements
IUserPhoneNumberStore<TUser, TKey>.SetPhoneNumberConfirmedAsync(TUser, Boolean)
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top