var/cache/dev/ContainerUO1L7lp/getSecurity_Authentication_Provider_Guard_MainService.php line 20

Open in your IDE?
  1. <?php
  2. namespace ContainerUO1L7lp;
  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_Guard_MainService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'security.authentication.provider.guard.main' shared service.
  12.      *
  13.      * @return \Symfony\Component\Security\Guard\Provider\GuardAuthenticationProvider
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/Authentication/Provider/AuthenticationProviderInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/symfony/security-guard/Provider/GuardAuthenticationProvider.php';
  19.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/User/UserCheckerInterface.php';
  20.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/User/InMemoryUserChecker.php';
  21.         return $container->privates['security.authentication.provider.guard.main'] = new \Symfony\Component\Security\Guard\Provider\GuardAuthenticationProvider(new RewindableGenerator(function () use ($container) {
  22.             yield => ($container->privates['App\\Security\\LoginFormAuthenticator'] ?? $container->load('getLoginFormAuthenticatorService'));
  23.             yield => ($container->privates['App\\Security\\ApiTokenAuthenticator'] ?? $container->load('getApiTokenAuthenticatorService'));
  24.         }, 2), ($container->privates['security.user.provider.concrete.app_user_provider'] ?? $container->load('getSecurity_User_Provider_Concrete_AppUserProviderService')), 'main', new \Symfony\Component\Security\Core\User\UserChecker(), ($container->services['security.password_encoder'] ?? $container->load('getSecurity_PasswordEncoderService')));
  25.     }
  26. }