BookStack/app/Exceptions
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
..
ApiAuthException.php Extracted API auth into guard 2019-12-30 14:51:28 +00:00
AuthException.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
ConfirmationEmailException.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
FileUploadException.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
Handler.php Fleshed out entity provided and optimized imports 2018-09-25 16:58:03 +01:00
HttpFetchException.php PHPCS related fixes. 2019-01-27 15:59:23 +05:30
ImageUploadException.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
JsonDebugException.php Started using OneLogin SAML lib directly 2019-11-17 13:26:43 +00:00
LdapException.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
MoveOperationException.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
NotFoundException.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
NotifyException.php Added check for last admin on role change 2018-12-30 16:11:58 +00:00
PermissionsException.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
PrettyException.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
SamlException.php Add error messages, fix LDAP error 2019-08-07 15:31:10 +02:00
SocialDriverNotConfigured.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
SocialSignInAccountNotUsed.php Altered social auto-reg to be configurable per service 2018-09-21 18:05:06 +01:00
SocialSignInException.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
SortOperationException.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
UserRegistrationException.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
UserTokenExpiredException.php Ran phpcbf and updated helpers typehinting 2019-09-15 18:29:51 +01:00
UserTokenNotFoundException.php Ran phpcbf and updated helpers typehinting 2019-09-15 18:29:51 +01:00
UserUpdateException.php PHPCS related fixes. 2019-01-27 15:59:23 +05:30