2018-02-27 21:28:43 -06:00
|
|
|
<?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 10:50:56 -04:00
|
|
|
* the requested action against the API.
|
2018-02-27 21:28:43 -06:00
|
|
|
*
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function authorize(): bool
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|