<?php

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
// Returns the public 'fos_oauth_server.controller.authorize' shared service.

include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/oauth-server-bundle/Controller/AuthorizeController.php';
include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/oauth-server-bundle/Form/Handler/AuthorizeFormHandler.php';

$a = ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack()));
$b = $this->load('getFosOauthServer_Authorize_FormService.php');

return $this->services['fos_oauth_server.controller.authorize'] = new \FOS\OAuthServerBundle\Controller\AuthorizeController($a, $b, new \FOS\OAuthServerBundle\Form\Handler\AuthorizeFormHandler($b, $a), ($this->privates['fos_oauth_server.server'] ?? $this->load('getFosOauthServer_ServerService.php')), ($this->services['templating'] ?? $this->load('getTemplatingService.php')), ($this->services['security.token_storage'] ?? $this->getSecurity_TokenStorageService()), ($this->services['router'] ?? $this->getRouterService()), ($this->privates['fos_oauth_server.client_manager.default'] ?? $this->load('getFosOauthServer_ClientManager_DefaultService.php')), ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService()), ($this->services['session'] ?? $this->load('getSessionService.php')), 'twig');
