Files
wticreatorstudio/Modules/Livestream/Http/Requests/UpdateRestreamSettingsRequest.php
2024-04-25 16:48:43 +08:00

32 lines
630 B
PHP

<?php
namespace Modules\Livestream\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateRestreamSettingsRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'client_id' => ['required', 'string', 'max:255'],
'client_secret' => ['required', 'string', 'max:255'],
];
}
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
}