public function responseTypeCodeAction(Request $request)
{
$authorizationResponse = $request->query->all();
$tokenPath = $this->get('router')->generate('demo_grant_type_authorization_code', ['code' => $authorizationResponse['code']]);
return $this->render('TestBundle:demo/response_type:code.html.twig', ['authorization_response' => $authorizationResponse, 'token_path' => $tokenPath]);
}