[ EncryptCookies::class, AddQueuedCookiesToResponse::class, StartSession::class, // \Illuminate\Session\Middleware\AuthenticateSession::class, ShareErrorsFromSession::class, VerifyCsrfToken::class, SubstituteBindings::class, QueryLogging::class, ], 'api' => [ 'throttle:300,1', 'bindings', 'query_logging', Cors::class, ], 'contact' => [ 'throttle:60,1', 'bindings', 'query_logging', ], 'client' => [ EncryptCookies::class, AddQueuedCookiesToResponse::class, StartSession::class, // \Illuminate\Session\Middleware\AuthenticateSession::class, ShareErrorsFromSession::class, VerifyCsrfToken::class, SubstituteBindings::class, //\App\Http\Middleware\StartupCheck::class, QueryLogging::class, ], 'shop' => [ 'throttle:120,1', 'bindings', 'query_logging', ], ]; /** * The application's route middleware. * * These middleware may be assigned to groups or used individually. * * @var array */ protected $routeMiddleware = [ 'auth' => Authenticate::class, 'auth.basic' => AuthenticateWithBasicAuth::class, 'bindings' => SubstituteBindings::class, 'cache.headers' => SetCacheHeaders::class, 'can' => Authorize::class, 'guest' => RedirectIfAuthenticated::class, 'signed' => ValidateSignature::class, 'throttle' => ThrottleRequests::class, 'verified' => EnsureEmailIsVerified::class, 'query_logging' => QueryLogging::class, 'token_auth' => TokenAuth::class, 'api_secret_check' => ApiSecretCheck::class, 'contact_token_auth' => ContactTokenAuth::class, 'contact_db' => ContactSetDb::class, 'domain_db' => SetDomainNameDb::class, 'email_db' => SetEmailDb::class, 'invite_db' => SetInviteDb::class, 'password_protected' => PasswordProtection::class, 'signed' => ValidateSignature::class, 'portal_enabled' => ClientPortalEnabled::class, 'url_db' => UrlSetDb::class, 'web_db' => SetWebDb::class, 'api_db' => SetDb::class, 'company_key_db' => SetDbByCompanyKey::class, 'locale' => Locale::class, 'contact.register' => ContactRegister::class, 'shop_token_auth' => ShopTokenAuth::class, 'phantom_secret' => PhantomSecret::class, 'contact_key_login' => ContactKeyLogin::class, 'check_client_existence' => CheckClientExistence::class, 'user_verified' => UserVerified::class, ]; }