var/cache/dev/ContainerSzWx2pB/getHwiOauth_Authentication_Provider_Oauth_MainService.php line 21

Open in your IDE?
  1. <?php
  2. namespace ContainerSzWx2pB;
  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 getHwiOauth_Authentication_Provider_Oauth_MainService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the private 'hwi_oauth.authentication.provider.oauth.main' shared service.
  12. *
  13. * @return \HWI\Bundle\OAuthBundle\Security\Core\Authentication\Provider\OAuthProvider
  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/hwi/oauth-bundle/src/Security/Core/Authentication/Provider/OAuthProvider.php';
  20. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/User/UserCheckerInterface.php';
  21. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/User/InMemoryUserChecker.php';
  22. $a = ($container->privates['App\\Security\\UserProvider'] ?? $container->load('getUserProviderService'));
  23. if (isset($container->privates['hwi_oauth.authentication.provider.oauth.main'])) {
  24. return $container->privates['hwi_oauth.authentication.provider.oauth.main'];
  25. }
  26. return $container->privates['hwi_oauth.authentication.provider.oauth.main'] = new \HWI\Bundle\OAuthBundle\Security\Core\Authentication\Provider\OAuthProvider($a, ($container->services['hwi_oauth.resource_ownermap.main'] ?? $container->load('getHwiOauth_ResourceOwnermap_MainService')), ($container->services['hwi_oauth.user_checker'] ?? ($container->services['hwi_oauth.user_checker'] = new \Symfony\Component\Security\Core\User\InMemoryUserChecker())), ($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService()));
  27. }
  28. }