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