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

 

Asynchronously notifies a token provider.

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

Syntax

public virtual Task NotifyAsync(
    string token,
    UserManager<TUser, TKey> manager,
    TUser user
)
public:
virtual Task^ NotifyAsync(
    String^ token,
    UserManager<TUser, TKey>^ manager,
    TUser user
)
abstract NotifyAsync : 
        token:string *
        manager:UserManager<'TUser, 'TKey> *
        user:'TUser -> Task
override NotifyAsync : 
        token:string *
        manager:UserManager<'TUser, 'TKey> *
        user:'TUser -> Task
Public Overridable 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 representing the asynchronous operation.

Implements

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

Remarks

This token provider does not notify the user by default.

See Also

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

Return to top