<?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_ApiSecurityService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'security.firewall.map.context.api_security' 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_security'])) {
return $container->privates['security.firewall.map.context.api_security'];
}
$b = ($container->privates['App\\Security\\TokenAuthenticator'] ?? $container->load('getTokenAuthenticatorService'));
if (isset($container->privates['security.firewall.map.context.api_security'])) {
return $container->privates['security.firewall.map.context.api_security'];
}
return $container->privates['security.firewall.map.context.api_security'] = 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_security'] ?? $container->load('getSecurity_Authentication_Listener_Guard_ApiSecurityService'));
yield 2 => ($container->privates['security.authentication.listener.json.api_security'] ?? $container->load('getSecurity_Authentication_Listener_Json_ApiSecurityService'));
yield 3 => ($container->privates['security.authentication.listener.anonymous.api_security'] ?? $container->load('getSecurity_Authentication_Listener_Anonymous_ApiSecurityService'));
yield 4 => ($container->privates['security.access_listener'] ?? $container->load('getSecurity_AccessListenerService'));
}, 5), 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_security', $b, NULL, NULL, ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService')), true), NULL, new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('api_security', 'security.user_checker', '.security.request_matcher.WIBWSCD', true, true, 'security.user.provider.concrete.app_user_provider', NULL, 'App\\Security\\TokenAuthenticator', NULL, NULL, [0 => 'guard', 1 => 'json_login', 2 => 'anonymous'], NULL));
}
}