misc_pterodactyl-panel/app/Http/Requests/Api/Remote/AuthenticateWebsocketDetailsRequest.php

27 lines
422 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Http\Requests\Api\Remote;
use Illuminate\Foundation\Http\FormRequest;
class AuthenticateWebsocketDetailsRequest extends FormRequest
{
/**
* @return bool
*/
public function authorize()
{
return true;
}
/**
* @return array
*/
public function rules()
{
return [
'server_uuid' => 'required|string',
];
}
}