koel/app/Http/Kernel.php

31 lines
651 B
PHP
Raw Normal View History

2015-12-13 04:42:28 +00:00
<?php
namespace App\Http;
use App\Http\Middleware\Authenticate;
2016-01-03 11:32:38 +00:00
use App\Http\Middleware\GetUserFromToken;
2015-12-13 04:42:28 +00:00
use Illuminate\Foundation\Http\Kernel as HttpKernel;
use Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* @var array
*/
protected $middleware = [
CheckForMaintenanceMode::class,
];
/**
* The application's route middleware.
*
* @var array
*/
protected $routeMiddleware = [
'auth' => Authenticate::class,
2015-12-29 01:35:22 +00:00
'jwt.auth' => GetUserFromToken::class,
2015-12-13 04:42:28 +00:00
];
}