Table of Contents

IUserManager.GeneratePhoneNumberConfirmationToken Method

Generates a phone number confirmation token that should be used to set the phone number as confirmed.

Remarks

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

Syntax

Unit: Sphinx.UserManager

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

Parameters

<-> Parameter Type Description
User TUser The user to generate a phone number confirmation token for.

Returns

The confirmation token used to confirm the phone number.

See also