Share via


UserManager<TUser>.GenerateEmailConfirmationTokenAsync(TUser) Method

Definition

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.

Applies to