misc_pterodactyl-panel/app/Http/Requests/Api/Client/WebsocketTokenRequest.php

14 lines
255 B
PHP
Raw Normal View History

2021-08-05 04:36:57 +00:00
<?php
namespace Pterodactyl\Http\Requests\Api\Client;
use Pterodactyl\Models\Permission;
class WebsocketTokenRequest extends ClientApiRequest
{
public function permission(): string
{
return Permission::ACTION_WEBSOCKET_CONNECT;
}
}