<?php

namespace Container3lyDu81;

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

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getSecurity_Authentication_TokenCreatedListener_TwoFactor_MainService extends App_KernelProdContainer
{
    /*
     * Gets the private 'security.authentication.token_created_listener.two_factor.main' shared service.
     *
     * @return \Scheb\TwoFactorBundle\Security\TwoFactor\Event\AuthenticationTokenListener
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 3).'/vendor/scheb/2fa-bundle/Security/TwoFactor/Event/AuthenticationTokenListener.php';
        include_once \dirname(__DIR__, 3).'/vendor/scheb/2fa-bundle/Security/TwoFactor/AuthenticationContextFactoryInterface.php';
        include_once \dirname(__DIR__, 3).'/vendor/scheb/2fa-bundle/Security/TwoFactor/AuthenticationContextFactory.php';

        $a = ($container->privates['scheb_two_factor.provider_initiator'] ?? $container->load('getSchebTwoFactor_ProviderInitiatorService'));

        if (isset($container->privates['security.authentication.token_created_listener.two_factor.main'])) {
            return $container->privates['security.authentication.token_created_listener.two_factor.main'];
        }

        return $container->privates['security.authentication.token_created_listener.two_factor.main'] = new \Scheb\TwoFactorBundle\Security\TwoFactor\Event\AuthenticationTokenListener('main', ($container->privates['scheb_two_factor.condition_registry'] ?? $container->load('getSchebTwoFactor_ConditionRegistryService')), $a, new \Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextFactory('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\AuthenticationContext'), ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()));
    }
}
