BookStack/app/Http/Middleware
Dan Brown 349b4629be
Extracted API auth into guard
Also implemented more elegant solution to allowing session auth for API
routes; A new 'StartSessionIfCookieExists' middleware, which wraps the
default 'StartSession' middleware will run for API routes which only
sets up the session if a session cookie is found on the request. Also
decrypts only the session cookie.

Also cleaned some TokenController codeclimate warnings.
2019-12-30 14:51:28 +00:00
..
ApiAuthenticate.php Extracted API auth into guard 2019-12-30 14:51:28 +00:00
Authenticate.php Linked new API token system into middleware 2019-12-30 02:16:07 +00:00
CheckForMaintenanceMode.php Ran phpcbf and updated helpers typehinting 2019-09-15 18:29:51 +01:00
ConfirmEmails.php Linked new API token system into middleware 2019-12-30 02:16:07 +00:00
EncryptCookies.php Updated to laravel 5.5 2017-11-19 15:56:19 +00:00
GlobalViewData.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
Localization.php Updated Korean to be correct country code 2019-10-18 14:27:41 +01:00
PermissionMiddleware.php Change application namespace to BookStack 2015-09-10 19:31:09 +01:00
RedirectIfAuthenticated.php Added user setting system and added user-lang option 2017-01-15 16:27:24 +00:00
StartSessionIfCookieExists.php Extracted API auth into guard 2019-12-30 14:51:28 +00:00
TrimStrings.php Updated to laravel 5.5 2017-11-19 15:56:19 +00:00
TrustProxies.php Fix "Declaration of Middleware\TrustProxies::handle should be compatible with Fideloper\Proxy\TrustProxies::handle" 2019-11-20 14:00:20 +03:00
VerifyCsrfToken.php Started using OneLogin SAML lib directly 2019-11-17 13:26:43 +00:00