2021-07-17 21:45:46 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Client\Account;
|
|
|
|
|
|
|
|
use Pterodactyl\Models\UserSSHKey;
|
2021-08-05 03:55:15 +00:00
|
|
|
use Pterodactyl\Http\Requests\Api\Client\AccountApiRequest;
|
2021-07-17 21:45:46 +00:00
|
|
|
|
2021-08-05 03:55:15 +00:00
|
|
|
class StoreSSHKeyRequest extends AccountApiRequest
|
2021-07-17 21:45:46 +00:00
|
|
|
{
|
|
|
|
public function rules(): array
|
|
|
|
{
|
|
|
|
return UserSSHKey::getRules();
|
|
|
|
}
|
|
|
|
}
|