/**
  * @param \Psr\Http\Message\ServerRequestInterface              $request
  * @param \Psr\Http\Message\ResponseInterface                   $response
  * @param \OAuth2\Endpoint\Authorization\AuthorizationInterface $authorization
  *
  * @throws \OAuth2\Endpoint\Authorization\Exception\CreateRedirectionException
  */
 protected function processAuthorization(ServerRequestInterface $request, ResponseInterface &$response, AuthorizationInterface $authorization)
 {
     if ($authorization->isAuthorized() === false) {
         $this->createRedirectionException($authorization, $response, ExceptionManagerInterface::ERROR_ACCESS_DENIED, 'The resource owner denied access to your client');
         return;
     }
     $response_parameters = $this->computeResponseParameters($authorization);
     $this->process($response_parameters, $request, $response, $authorization);
     $authorization->getResponseMode()->prepareResponse($authorization->getRedirectUri(), $response_parameters, $response);
 }