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>
15 lines
342 B
PHP
15 lines
342 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Api;
|
|
|
|
use Pterodactyl\Extensions\Laravel\Sanctum\NewAccessToken;
|
|
use Pterodactyl\Models\User;
|
|
|
|
interface CreatesAccountApiKeys
|
|
{
|
|
/** @param list<string>|null $allowedIps */
|
|
public function create(User $user, ?string $description, ?array $allowedIps): NewAccessToken;
|
|
}
|