<?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 getSecurity_Authenticator_JsonLogin_MainService extends App_KernelProdContainer
{
    /*
     * Gets the private 'security.authenticator.json_login.main' shared autowired service.
     *
     * @return \App\Security\AppJsonLoginAuthenticator
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/vendor/symfony/security-http/Authenticator/AuthenticatorInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/vendor/symfony/security-http/Authenticator/InteractiveAuthenticatorInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/vendor/symfony/security-http/Authenticator/JsonLoginAuthenticator.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Security/AppJsonLoginAuthenticator.php';
        include_once \dirname(__DIR__, 5).'/www/html/vendor/symfony/security-http/Authentication/AuthenticationSuccessHandlerInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/vendor/symfony/security-http/Authentication/CustomAuthenticationSuccessHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Security/TwoFactor/AuthenticationSuccessHandler.php';

        $a = ($container->privates['security.http_utils'] ?? self::getSecurity_HttpUtilsService($container));

        if (isset($container->privates['security.authenticator.json_login.main'])) {
            return $container->privates['security.authenticator.json_login.main'];
        }

        $instance = new \App\Security\AppJsonLoginAuthenticator($a, ($container->privates['security.user.provider.concrete.app_user_provider'] ?? $container->load('getSecurity_User_Provider_Concrete_AppUserProviderService')), new \Symfony\Component\Security\Http\Authentication\CustomAuthenticationSuccessHandler(new \App\Security\TwoFactor\AuthenticationSuccessHandler(), [], 'main'), NULL, ['check_path' => 'app_login', 'use_forward' => false, 'require_previous_session' => false, 'login_path' => '/login', 'username_path' => 'username', 'password_path' => 'password'], ($container->privates['property_accessor'] ?? self::getPropertyAccessorService($container)));

        if (isset($container->privates['security.authenticator.json_login.main'])) {
            return $container->privates['security.authenticator.json_login.main'];
        }

        return $container->privates['security.authenticator.json_login.main'] = $instance;
    }
}
