UserManager<TUser>.GenerateChangeEmailTokenAsync(TUser, String) UserManager<TUser>.GenerateChangeEmailTokenAsync(TUser, String) UserManager<TUser>.GenerateChangeEmailTokenAsync(TUser, String) Method

Definition

Generates an email change token for the specified user.

public virtual System.Threading.Tasks.Task<string> GenerateChangeEmailTokenAsync (TUser user, string newEmail);
abstract member GenerateChangeEmailTokenAsync : 'User * string -> System.Threading.Tasks.Task<string>
override this.GenerateChangeEmailTokenAsync : 'User * string -> System.Threading.Tasks.Task<string>
Public Overridable Function GenerateChangeEmailTokenAsync (user As TUser, newEmail As String) As Task(Of String)

Parameters

user
TUser TUser TUser

The user to generate an email change token for.

newEmail
String String String

The new email address.

Returns

The Task that represents the asynchronous operation, an email change token.

Applies to