BookStack/app/Http
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
..
Controllers Extracted API auth into guard 2019-12-30 14:51:28 +00:00
Middleware Extracted API auth into guard 2019-12-30 14:51:28 +00:00
Requests Change application namespace to BookStack 2015-09-10 19:31:09 +01:00
Kernel.php Extracted API auth into guard 2019-12-30 14:51:28 +00:00
Request.php Ran phpcbf and updated helpers typehinting 2019-09-15 18:29:51 +01:00