TotpSecurityStampBasedTokenProvider<TUser, TKey>.NotifyAsync Method
Asynchronously notifies a token provider.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Public Overridable Function NotifyAsync ( _
token As String, _
manager As UserManager(Of TUser, TKey), _
user As TUser _
) As Task
'Usage
Dim instance As TotpSecurityStampBasedTokenProvider
Dim token As String
Dim manager As UserManager(Of TUser, TKey)
Dim user As TUser
Dim returnValue As Task
returnValue = instance.NotifyAsync(token, _
manager, user)
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 function NotifyAsync(
token : String,
manager : UserManager<TUser, TKey>,
user : TUser
) : Task
Parameters
- token
Type: System.String
The token.
- manager
Type: Microsoft.AspNet.Identity.UserManager<TUser, TKey>
The user manager.
- 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
Reference
TotpSecurityStampBasedTokenProvider<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace