<?php


namespace App\Modules\Auth\Requests;

use Illuminate\Foundation\Http\FormRequest;

class SocialLoginRequest extends FormRequest
{
    public function rules(): array
    {
        return [
            'provider' => 'required|in:google,facebook',
            'token' => 'required|string',
        ];
    }

    public function authorize(): bool
    {
        return true;
    }
}