feat(auth): implement Google OAuth integration with user authentication and token exchange

This commit is contained in:
2026-07-22 13:43:14 -03:00
parent 855ac13990
commit 873855c85a
10 changed files with 272 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Domains\Auth\Requests;
use Illuminate\Foundation\Http\FormRequest;
class GoogleTokenExchangeRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
/** @return array<string, array<int, string>> */
public function rules(): array
{
return [
'oauth_code' => ['required', 'uuid'],
];
}
}