<?php

namespace ContainerAyoJmP9;

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 get2faSuccessService extends App_KernelProdContainer
{
    /*
     * Gets the public '2fa_success' shared autowired service.
     *
     * @return \App\Security\TwoFactor\TwoFactorAuthenticationSuccessHandler
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/vendor/symfony/security-http/Authentication/AuthenticationSuccessHandlerInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Security/TwoFactor/TwoFactorAuthenticationSuccessHandler.php';

        $a = ($container->privates['App\\Authentication\\LegacyHandler\\Authentication'] ?? $container->load('getAuthenticationService'));

        if (isset($container->services['2fa_success'])) {
            return $container->services['2fa_success'];
        }

        $instance = new \App\Security\TwoFactor\TwoFactorAuthenticationSuccessHandler($a);

        if (isset($container->services['2fa_success'])) {
            return $container->services['2fa_success'];
        }

        return $container->services['2fa_success'] = $instance;
    }
}
