<?php
namespace ContainerVJPm9f3;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getSecurity_Firewall_Map_Context_ApiService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'security.firewall.map.context.api' shared service.
*
* @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-bundle/Security/FirewallContext.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Util/TargetPathTrait.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Firewall/ExceptionListener.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-bundle/Security/FirewallConfig.php';
$a = ($container->privates['security.http_utils'] ?? $container->load('getSecurity_HttpUtilsService'));
if (isset($container->privates['security.firewall.map.context.api'])) {
return $container->privates['security.firewall.map.context.api'];
}
$b = ($container->privates['lexik_jwt_authentication.security.guard.jwt_token_authenticator'] ?? $container->load('getLexikJwtAuthentication_Security_Guard_JwtTokenAuthenticatorService'));
if (isset($container->privates['security.firewall.map.context.api'])) {
return $container->privates['security.firewall.map.context.api'];
}
return $container->privates['security.firewall.map.context.api'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['security.channel_listener'] ?? $container->load('getSecurity_ChannelListenerService'));
yield 1 => ($container->privates['security.authentication.listener.guard.api'] ?? $container->load('getSecurity_Authentication_Listener_Guard_ApiService'));
yield 2 => ($container->privates['security.authentication.switchuser_listener.api'] ?? $container->load('getSecurity_Authentication_SwitchuserListener_ApiService'));
yield 3 => ($container->privates['security.access_listener'] ?? $container->load('getSecurity_AccessListenerService'));
}, 4), new \Symfony\Component\Security\Http\Firewall\ExceptionListener(($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService()), ($container->privates['security.authentication.trust_resolver'] ?? ($container->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver())), $a, 'api', $b, NULL, NULL, ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService')), true), NULL, new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('api', 'security.user_checker', '.security.request_matcher.DRbgG1p', true, true, 'security.user.provider.concrete.app_user_provider', NULL, 'lexik_jwt_authentication.jwt_token_authenticator', NULL, NULL, [0 => 'switch_user', 1 => 'guard'], ['parameter' => 'x-switch-user', 'role' => 'ROLE_ALLOWED_TO_SWITCH']));
}
}