<?php

namespace ContainerYLYnYtZ;

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_Authentication_Listener_Guard_UvdeskApiService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'security.authentication.listener.guard.uvdesk_api' shared service.
     *
     * @return \Symfony\Component\Security\Guard\Firewall\GuardAuthenticationListener
     *
     * @deprecated Since symfony/security-bundle 5.3: The "security.authentication.listener.guard.uvdesk_api" service is deprecated, use the new authenticator system instead.
     */
    public static function do($container, $lazyLoad = true)
    {
        trigger_deprecation('symfony/security-bundle', '5.3', 'The "security.authentication.listener.guard.uvdesk_api" service is deprecated, use the new authenticator system instead.');

        $a = ($container->privates['security.authentication.guard_handler'] ?? $container->load('getSecurity_Authentication_GuardHandlerService'));

        if (isset($container->privates['security.authentication.listener.guard.uvdesk_api'])) {
            return $container->privates['security.authentication.listener.guard.uvdesk_api'];
        }
        $b = ($container->privates['security.authentication.manager'] ?? $container->load('getSecurity_Authentication_ManagerService'));

        if (isset($container->privates['security.authentication.listener.guard.uvdesk_api'])) {
            return $container->privates['security.authentication.listener.guard.uvdesk_api'];
        }

        return $container->privates['security.authentication.listener.guard.uvdesk_api'] = new \Symfony\Component\Security\Guard\Firewall\GuardAuthenticationListener($a, $b, 'uvdesk_api', new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['Webkul\\UVDesk\\ApiBundle\\Security\\Guards\\APIGuard'] ?? $container->load('getAPIGuardService'));
        }, 1), ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService')), true, ($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService()));
    }
}
