*/ protected $middleware = [ CheckForMaintenanceMode::class, ValidatePostSize::class, TrimStrings::class, ForceHttps::class, ]; /** * The application's route middleware groups. * * @var array> */ protected $middlewareGroups = [ 'web' => [ 'bindings', ], 'api' => [ 'throttle:60,1', 'bindings', ], ]; /** * The application's route middleware. * * @var array */ protected $routeMiddleware = [ 'auth' => Authenticate::class, 'audio.auth' => AudioAuthenticate::class, 'os.auth' => ObjectStorageAuthenticate::class, 'bindings' => SubstituteBindings::class, 'can' => Authorize::class, 'throttle' => ThrottleRequests::class, ]; }