mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-05 05:45:46 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
17 lines
381 B
PHP
17 lines
381 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Api;
|
|
|
|
use Pterodactyl\Models\ApiKey;
|
|
|
|
interface CreatesApiKeys
|
|
{
|
|
/**
|
|
* @param ApiKeyCreationData $data
|
|
* @param array<string, int> $permissions The r_* ACL columns, only applied to application keys.
|
|
*/
|
|
public function create(int $keyType, array $data, array $permissions = []): ApiKey;
|
|
}
|