[ \App\Http\Middleware\EncryptCookies::class, \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class, // \Illuminate\Session\Middleware\AuthenticateSession::class, \Illuminate\View\Middleware\ShareErrorsFromSession::class, \App\Http\Middleware\VerifyCsrfToken::class, \Illuminate\Routing\Middleware\SubstituteBindings::class, \App\Http\Middleware\Localization::class, \App\Http\Middleware\CheckSendingAPI::class, ], 'api' => [ 'throttle:api', \Illuminate\Routing\Middleware\SubstituteBindings::class, ], ]; /** * The application's route middleware. * * These middleware may be assigned to groups or used individually. * * @var array */ protected $routeMiddleware = [ 'auth' => \App\Http\Middleware\Authenticate::class, 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 'can' => \Illuminate\Auth\Middleware\Authorize::class, 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 'check.login' => \App\Http\Middleware\CheckLogin::class, 'check.logout' => \App\Http\Middleware\CheckLogout::class, 'check.gate.token' => \App\Http\Middleware\CheckGateToken::class, 'check.pro.member' => \App\Http\Middleware\CheckProMember::class, 'check.company.sort' => \App\Http\Middleware\CheckCompanySort::class, 'check.pro.guest' => \App\Http\Middleware\CheckProGuest::class, 'app.token.manager' => \App\Http\Middleware\AppTokenManager::class, 'check.device.scale' => \App\Http\Middleware\CheckDeviceScale::class, 'header.data' => \App\Http\Middleware\Shop\HeaderData::class, ]; }