mirror of
https://gh.wpcy.net/https://github.com/vladaman/freescout-saml2.git
synced 2026-04-17 09:02:20 +08:00
21 lines
664 B
PHP
Executable file
21 lines
664 B
PHP
Executable file
<?php
|
|
|
|
Route::group(['middleware' => 'web',
|
|
'prefix' => \Helper::getSubdirectory(),
|
|
'namespace' => 'Modules\Saml2\Http\Controllers'], function() {
|
|
|
|
Route::get('/saml_login', 'SamlController@login')->name('saml_login');
|
|
});
|
|
|
|
Route::group([
|
|
'middleware' => [
|
|
\App\Http\Middleware\EncryptCookies::class,
|
|
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
|
\Illuminate\Session\Middleware\StartSession::class,
|
|
],
|
|
'prefix' => \Helper::getSubdirectory(),
|
|
'namespace' => 'Modules\Saml2\Http\Controllers'], function() {
|
|
|
|
Route::post('/saml_acs', 'SamlController@callback')->name('saml_acs');
|
|
|
|
});
|