var/cache/dev/ContainerP9Oka26/getSecurity_Authentication_Provider_Oauth2_ApiService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerP9Oka26;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getSecurity_Authentication_Provider_Oauth2_ApiService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'security.authentication.provider.oauth2.api' shared service.
  12.      *
  13.      * @return \Trikoder\Bundle\OAuth2Bundle\Security\Authentication\Provider\OAuth2Provider
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/Authentication/AuthenticationManagerInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/Authentication/Provider/AuthenticationProviderInterface.php';
  19.         include_once \dirname(__DIR__4).'/vendor/trikoder/oauth2-bundle/Security/Authentication/Provider/OAuth2Provider.php';
  20.         include_once \dirname(__DIR__4).'/vendor/trikoder/oauth2-bundle/Security/Authentication/Token/OAuth2TokenFactory.php';
  21.         return $container->privates['security.authentication.provider.oauth2.api'] = new \Trikoder\Bundle\OAuth2Bundle\Security\Authentication\Provider\OAuth2Provider(($container->privates['security.user.provider.concrete.sso_user_provider'] ?? $container->load('getSecurity_User_Provider_Concrete_SsoUserProviderService')), ($container->privates['League\\OAuth2\\Server\\ResourceServer'] ?? $container->load('getResourceServerService')), ($container->privates['Trikoder\\Bundle\\OAuth2Bundle\\Security\\Authentication\\Token\\OAuth2TokenFactory'] ?? ($container->privates['Trikoder\\Bundle\\OAuth2Bundle\\Security\\Authentication\\Token\\OAuth2TokenFactory'] = new \Trikoder\Bundle\OAuth2Bundle\Security\Authentication\Token\OAuth2TokenFactory('ROLE_OAUTH2_'))), 'api');
  22.     }
  23. }