PhoneNumberTokenProvider<TUser, TKey>.NotifyAsync Method (String, UserManager<TUser, TKey>, TUser)

 

Asynchronously notifies the user with a token via SMS using the MessageFormat.

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

public override Task NotifyAsync(
    string token,
    UserManager<TUser, TKey> manager,
    TUser user
)
public:
virtual Task^ NotifyAsync(
    String^ token,
    UserManager<TUser, TKey>^ manager,
    TUser user
) override
override NotifyAsync : 
        token:string *
        manager:UserManager<'TUser, 'TKey> *
        user:'TUser -> Task
Public Overrides Function NotifyAsync (
    token As String,
    manager As UserManager(Of TUser, TKey),
    user As TUser
) As Task

Parameters

  • user
    Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task

The task object representing the asynchronous operation.

Implements

IUserTokenProvider<TUser, TKey>.NotifyAsync(String, UserManager<TUser, TKey>, TUser)

See Also

PhoneNumberTokenProvider<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top