mirror of
https://github.com/koel/koel
synced 2024-12-30 14:33:06 +00:00
19 lines
390 B
PHP
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',
|
|
];
|
|
}
|
|
}
|