koel/app/Http/Requests/API/LastfmCallbackRequest.php
2020-12-22 21:11:22 +01:00

19 lines
390 B
PHP

<?php
namespace App\Http\Requests\API;
/**
* @property string $token Lastfm's access token
* @property string $api_token Koel's current user's token
*/
class LastfmCallbackRequest extends Request
{
/** @return array<mixed> */
public function rules(): array
{
return [
'token' => 'required',
'api_token' => 'required',
];
}
}