2019-09-08 17:48:37 -07:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Remote;
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
|
|
|
|
class AuthenticateWebsocketDetailsRequest extends FormRequest
|
|
|
|
{
|
2022-10-14 10:59:20 -06:00
|
|
|
public function authorize(): bool
|
2019-09-08 17:48:37 -07:00
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2022-10-14 10:59:20 -06:00
|
|
|
public function rules(): array
|
2019-09-08 17:48:37 -07:00
|
|
|
{
|
|
|
|
return [
|
|
|
|
'server_uuid' => 'required|string',
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|