[ AddQueuedCookiesToResponse::class, ShareErrorsFromSession::class, VerifyCsrfToken::class, SubstituteBindings::class, ], 'api' => [ 'throttle:60,1', 'bindings', ], ]; /** * The application's route middleware. * * These middleware may be assigned to groups or used individually. * * @var array */ protected $routeMiddleware = [ 'bindings' => SubstituteBindings::class, 'cache.headers' => SetCacheHeaders::class, 'password.confirm' => RequirePassword::class, 'signed' => ValidateSignature::class, 'throttle' => ThrottleRequests::class, 'verified' => EnsureEmailIsVerified::class, ]; }