2020-03-23 01:15:38 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Client\Account;
|
|
|
|
|
2021-07-29 04:23:10 +00:00
|
|
|
use Pterodactyl\Models\PersonalAccessToken;
|
2021-08-05 03:55:15 +00:00
|
|
|
use Pterodactyl\Http\Requests\Api\Client\AccountApiRequest;
|
2020-03-23 01:15:38 +00:00
|
|
|
|
2021-08-05 03:55:15 +00:00
|
|
|
class StoreApiKeyRequest extends AccountApiRequest
|
2020-03-23 01:15:38 +00:00
|
|
|
{
|
|
|
|
public function rules(): array
|
|
|
|
{
|
|
|
|
return [
|
2021-07-29 04:23:10 +00:00
|
|
|
'description' => PersonalAccessToken::getRules()['description'],
|
2020-08-18 02:48:51 +00:00
|
|
|
];
|
|
|
|
}
|
2020-03-23 01:15:38 +00:00
|
|
|
}
|