Class to handle ajax calls to revoke an API token.
More...
|
const | NAME = "manage-token" |
|
const | PERMISSION = "permission" |
|
const | REQUIRES_LOGIN = "requiresLogin" |
|
const | ENABLE_MENU = "ENABLE_MENU" |
|
const | LEVEL = "level" |
|
const | DEPENDENCIES = "dependencies" |
|
const | INIT_ORDER = "initOrder" |
|
const | MENU_LIST = "menuList" |
|
const | MENU_ORDER = "menuOrder" |
|
const | MENU_TARGET = "menuTarget" |
|
const | TITLE = "title" |
|
| $fileLogger |
|
Class to handle ajax calls to revoke an API token.
Definition at line 22 of file AjaxManageToken.php.
◆ handle()
Fossology\UI\Ajax\AjaxManageToken::handle |
( |
Request |
$request | ) |
|
|
protected |
◆ invalidateToken()
Fossology\UI\Ajax\AjaxManageToken::invalidateToken |
( |
|
$tokenPk | ) |
|
|
private |
Mark a token as invalid/inactive.
- Parameters
-
int | $tokenPk | The token id to be revoked |
- Returns
- array Array with success status.
Definition at line 118 of file AjaxManageToken.php.
◆ $dbManager
DbManager Fossology\UI\Ajax\AjaxManageToken::$dbManager |
|
private |
The documentation for this class was generated from the following file: