-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb.php
More file actions
21 lines (16 loc) · 760 Bytes
/
web.php
File metadata and controls
21 lines (16 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
use App\Http\Controllers\Api\Auth\SteamController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/auth/steam', [SteamController::class, 'redirectToSteam'])->name('auth.steam');
Route::get('/auth/steam/handle', [SteamController::class, 'handleSteamCallback'])->name('auth.steam.handle');
Route::get('/logout', [SteamController::class, 'logout'])->name('logout');