feat: Implement JWT authentication for client API and add transaction verification endpoint.

This commit is contained in:
pbao9
2026-02-19 15:38:43 +07:00
parent 75791d6257
commit c7215ababc
15 changed files with 526 additions and 55 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class ApiAuthCheck
*/
public function handle(Request $request, Closure $next, $guard = null)
{
$checkGuard = $guard ?: 'sanctum';
$checkGuard = $guard ?: 'client';
if (!Auth::guard($checkGuard)->check()) {
return response()->json([