Files
pterodactyl-panel/app/Contracts/Api/CreatesAccountApiKeys.php
T
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00

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;
}