UserManager<TUser, TKey>.GenerateEmailConfirmationTokenAsync Method (TKey)
Gets the e-mail confirmation token for the user.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
public virtual Task<string> GenerateEmailConfirmationTokenAsync(
TKey userId
)
public:
virtual Task<String^>^ GenerateEmailConfirmationTokenAsync(
TKey userId
)
abstract GenerateEmailConfirmationTokenAsync :
userId:'TKey -> Task<string>
override GenerateEmailConfirmationTokenAsync :
userId:'TKey -> Task<string>
Public Overridable Function GenerateEmailConfirmationTokenAsync (
userId As TKey
) As Task(Of String)
Parameters
userId
Type: TKeyThe user ID.
Return Value
Type: System.Threading.Tasks.Task<String>
The task representing the asynchronous operation.
See Also
UserManager<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top