Files
XC_VM/src/interfaces/Http/Controllers/Admin/HmacController.php
T

26 lines
532 B
PHP
Raw Normal View History

<?php
/**
* HmacController — HMAC Keys (admin/hmacs.php).
*
* Листинг HMAC-токенов с edit/delete.
*
* Legacy: admin/hmacs.php (273 строки)
* Route: GET /admin/hmacs → index()
*/
class HmacController extends BaseAdminController
{
public function index()
{
$this->requirePermission();
$this->setTitle('HMAC Keys');
$hmacs = function_exists('getHMACTokens') ? getHMACTokens() : [];
$this->render('hmacs', [
'hmacs' => $hmacs,
]);
}
}