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

20 lines
413 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Http\Requests\Api\Client;
use Pterodactyl\Http\Requests\Api\Application\ApplicationApiRequest;
abstract class ClientApiRequest extends ApplicationApiRequest
{
/**
* Determine if the current user is authorized to perform
2018-05-13 14:50:56 +00:00
* the requested action against the API.
*
* @return bool
*/
public function authorize(): bool
{
return true;
}
}