IUserManager.GeneratePasswordResetToken Method
Generates a password reset token that should be used to reset the user password.
Remarks
Call this method to generate a password reset token that should be later used to effectively reset the password. The token can be used in a call to BeginResetPassword method.
Syntax
Unit: Sphinx.UserManager
function IUserManager.GeneratePasswordResetToken(User: TUser): string; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
User | TUser | The user to generate an password reset token for. |
Returns
The token that should be used to reset the password.