Table of Contents

IUserManager.GenerateEmailConfirmationToken Method

Generates an email confirmation token that should be used to set the email as confirmed.

Remarks

Call this method to generate a confirmation token that should be later used to effectively confirm the user email as a valid one. The token can be used in a call to ConfirmEmail method.

Syntax

Unit: Sphinx.UserManager

function IUserManager.GenerateEmailConfirmationToken(User: TUser): string; virtual; abstract;

Parameters

<-> Parameter Type Description
User TUser The user to generate an email confirmation token for.

Returns

The confirmation token used to confirm the email.

See also