UserManager<TUser>.GenerateEmailConfirmationTokenAsync(TUser) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates an email confirmation token for the specified user.
public:
virtual System::Threading::Tasks::Task<System::String ^> ^ GenerateEmailConfirmationTokenAsync(TUser user);
public virtual System.Threading.Tasks.Task<string> GenerateEmailConfirmationTokenAsync (TUser user);
abstract member GenerateEmailConfirmationTokenAsync : 'User -> System.Threading.Tasks.Task<string>
override this.GenerateEmailConfirmationTokenAsync : 'User -> System.Threading.Tasks.Task<string>
Public Overridable Function GenerateEmailConfirmationTokenAsync (user As TUser) As Task(Of String)
Parameters
- user
- TUser
The user to generate an email confirmation token for.
Returns
The Task that represents the asynchronous operation, an email confirmation token.