2018-08-23 05:29:20 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Contracts\Http;
|
|
|
|
|
|
|
|
interface ClientPermissionsRequest
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Returns the permissions string indicating which permission should be used to
|
2022-10-14 16:59:20 +00:00
|
|
|
* validate that the authenticated user has permission to perform this action against
|
2018-08-23 05:29:20 +00:00
|
|
|
* the given resource (server).
|
|
|
|
*/
|
|
|
|
public function permission(): string;
|
|
|
|
}
|