Class ExceptionHandler
This handler rethrows an exception caught by the middleware.
Namespace: Authorization\Middleware\UnauthorizedHandler
Method Summary
-
handle() public
Handles the unauthorized request. The modified response should be returned.
Method Detail
handle() ΒΆ public
handle(Authorization\Exception\Exception $exception, Psr\Http\Message\ServerRequestInterface $request, array $options = []): Psr\Http\Message\ResponseInterface
Handles the unauthorized request. The modified response should be returned.
Parameters
-
Authorization\Exception\Exception
$exception -
Psr\Http\Message\ServerRequestInterface
$request -
array
$options optional
Returns
Psr\Http\Message\ResponseInterface