2015-07-12 15:01:42 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Oxbow\Http;
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Http\Kernel as HttpKernel;
|
|
|
|
|
|
|
|
class Kernel extends HttpKernel
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The application's global HTTP middleware stack.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $middleware = [
|
|
|
|
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
|
|
|
|
\Oxbow\Http\Middleware\EncryptCookies::class,
|
|
|
|
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
|
|
|
\Illuminate\Session\Middleware\StartSession::class,
|
|
|
|
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
|
|
|
\Oxbow\Http\Middleware\VerifyCsrfToken::class,
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The application's route middleware.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $routeMiddleware = [
|
2015-08-29 10:03:42 -04:00
|
|
|
'auth' => \Oxbow\Http\Middleware\Authenticate::class,
|
2015-07-12 15:01:42 -04:00
|
|
|
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
|
2015-08-29 10:03:42 -04:00
|
|
|
'guest' => \Oxbow\Http\Middleware\RedirectIfAuthenticated::class,
|
|
|
|
'perm' => \Oxbow\Http\Middleware\PermissionMiddleware::class
|
2015-07-12 15:01:42 -04:00
|
|
|
];
|
|
|
|
}
|