<?php
namespace ContainerKDiunqc;
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_EventDispatcher_MainService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'security.event_dispatcher.main' shared service.
*
* @return \Symfony\Component\EventDispatcher\EventDispatcher
*/
public static function do($container, $lazyLoad = true)
{
$container->privates['security.event_dispatcher.main'] = $instance = new \Symfony\Component\EventDispatcher\EventDispatcher();
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [0 => function () use ($container) {
return ($container->privates['security.listener.main.user_provider'] ?? $container->load('getSecurity_Listener_Main_UserProviderService'));
}, 1 => 'checkPassport'], 2048);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [0 => function () use ($container) {
return ($container->privates['security.listener.session.main'] ?? $container->load('getSecurity_Listener_Session_MainService'));
}, 1 => 'onSuccessfulLogin'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [0 => function () use ($container) {
return ($container->privates['security.logout.listener.legacy_success_listener.main'] ?? $container->load('getSecurity_Logout_Listener_LegacySuccessListener_MainService'));
}, 1 => 'onLogout'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [0 => function () use ($container) {
return ($container->privates['security.logout.listener.session.main'] ?? ($container->privates['security.logout.listener.session.main'] = new \Symfony\Component\Security\Http\EventListener\SessionLogoutListener()));
}, 1 => 'onLogout'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [0 => function () use ($container) {
return ($container->privates['security.listener.user_checker.main'] ?? $container->load('getSecurity_Listener_UserChecker_MainService'));
}, 1 => 'preCheckCredentials'], 256);
$instance->addListener('security.authentication.success', [0 => function () use ($container) {
return ($container->privates['security.listener.user_checker.main'] ?? $container->load('getSecurity_Listener_UserChecker_MainService'));
}, 1 => 'postCheckCredentials'], 256);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [0 => function () use ($container) {
return ($container->privates['security.listener.user_provider'] ?? $container->load('getSecurity_Listener_UserProviderService'));
}, 1 => 'checkPassport'], 1024);
$instance->addListener('security.interactive_login', [0 => function () use ($container) {
return ($container->privates['App\\EventSubscriber\\SignedCookieSubscriber'] ?? $container->getSignedCookieSubscriberService());
}, 1 => 'setAuthSuccessFlag'], 10);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [0 => function () use ($container) {
return ($container->privates['security.listener.check_authenticator_credentials'] ?? $container->load('getSecurity_Listener_CheckAuthenticatorCredentialsService'));
}, 1 => 'checkPassport'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [0 => function () use ($container) {
return ($container->privates['security.listener.password_migrating'] ?? $container->load('getSecurity_Listener_PasswordMigratingService'));
}, 1 => 'onLoginSuccess'], 0);
$instance->addListener('security.interactive_login', [0 => function () use ($container) {
return ($container->privates['sonata.user.listener.last_login'] ?? $container->load('getSonata_User_Listener_LastLoginService'));
}, 1 => 'onSecurityInteractiveLogin'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [0 => function () use ($container) {
return ($container->privates['security.listener.csrf_protection'] ?? $container->load('getSecurity_Listener_CsrfProtectionService'));
}, 1 => 'checkPassport'], 512);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [0 => function () use ($container) {
return ($container->privates['security.logout.listener.csrf_token_clearing'] ?? $container->load('getSecurity_Logout_Listener_CsrfTokenClearingService'));
}, 1 => 'onLogout'], 0);
return $instance;
}
}