IUserManager.GetAuthenticationToken Method
Returns an authentication token for a user from the database.
Syntax
Unit: Sphinx.UserManager
function IUserManager.GetAuthenticationToken(User: TUser; const LoginProvider: string; const TokenName: string): string; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
User | TUser | The user which the token belongs to. |
|
const | LoginProvider | string | The name of the login provider the token is associated with. |
const | TokenName | string | The name of the token |
Returns
The authentication token for a user.