Spaces:
Running
Running
Download app/Http/Requests/User/LoginGoogleRequest.php from Ailixir-AI-Team/ailixir-api: direct link, hf CLI and curl.
- Browser
- Download file 593 Bytes
-
https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/f0dbfedd4517c01e2ac52ad175f104f22391223d/app/Http/Requests/User/LoginGoogleRequest.php
- Command line
-
hf download hf://spaces/Ailixir-AI-Team/ailixir-api@f0dbfedd4517c01e2ac52ad175f104f22391223d/app/Http/Requests/User/LoginGoogleRequest.php
-
curl -L -o LoginGoogleRequest.php https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/f0dbfedd4517c01e2ac52ad175f104f22391223d/app/Http/Requests/User/LoginGoogleRequest.php
593 Bytes
| namespace App\Http\Requests\User; | |
| use Illuminate\Foundation\Http\FormRequest; | |
| class LoginGoogleRequest extends FormRequest | |
| { | |
| /** | |
| * Determine if the user is authorized to make this request. | |
| */ | |
| public function authorize(): bool | |
| { | |
| return true; | |
| } | |
| /** | |
| * Get the validation rules that apply to the request. | |
| * | |
| * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string> | |
| */ | |
| public function rules(): array | |
| { | |
| return [ | |
| 'access_token' => 'required|string', | |
| ]; | |
| } | |
| } | |