[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Error/JsonApi/ -> AuthenticationFailedExceptionHandler.php (summary)

Joomla! Content Management System

Copyright: (C) 2019 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 65 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AuthenticationFailedExceptionHandler:: (2 methods):
  manages()
  handle()


Class: AuthenticationFailedExceptionHandler  - X-Ref

Handler for permission errors that should give a 401

manages(Exception $e)   X-Ref
If the exception handler is able to format a response for the provided exception,
then the implementation should return true.

param: \Exception  $e  The exception to be handled
return: boolean

handle(Exception $e)   X-Ref
Handle the provided exception.

param: Exception  $e  The exception being handled
return: \Tobscure\JsonApi\Exception\Handler\ResponseBag



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer