public function responseTypeTokenAction(Request $request)
{
$accessTokenResponse = $request->query->all();
$modelPath = $this->get('router')->generate('demo_resource_type_model', ['access_token' => $accessTokenResponse['access_token']]);
$debugPath = $this->get('router')->generate('demo_resource_type_debug_endpoint', ['access_token' => $accessTokenResponse['access_token']]);
return $this->render('TestBundle:demo/response_type:token.html.twig', ['access_token_response' => $accessTokenResponse, 'model_path' => $modelPath, 'debug_path' => $debugPath]);
}