1<?php 2 3/* 4 * This file is part of the Symfony package. 5 * 6 * (c) Fabien Potencier <fabien@symfony.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12namespace Symfony\Component\Security\Core; 13 14final class AuthenticationEvents 15{ 16 /** 17 * The AUTHENTICATION_SUCCESS event occurs after a user is authenticated 18 * by one provider. 19 * 20 * The event listener method receives a 21 * Symfony\Component\Security\Core\Event\AuthenticationEvent instance. 22 * 23 * @var string 24 */ 25 const AUTHENTICATION_SUCCESS = 'security.authentication.success'; 26 27 /** 28 * The AUTHENTICATION_FAILURE event occurs after a user cannot be 29 * authenticated by any of the providers. 30 * 31 * The event listener method receives a 32 * Symfony\Component\Security\Core\Event\AuthenticationFailureEvent 33 * instance. 34 * 35 * @var string 36 */ 37 const AUTHENTICATION_FAILURE = 'security.authentication.failure'; 38} 39