IUserManager.VerifyTwoFactorToken Method
Verifies the specified two factor authentication token for the given user.
Syntax
Unit: Sphinx.UserManager
function IUserManager.VerifyTwoFactorToken(User: TUser; const Token: string): Boolean; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
User | TUser | The user to validate the token against. |
|
const | Token | string | The token to be validated. |
Returns
Returns true if the token is valid, otherwise false.