add @Event annotation for AuthenticationEvents
This commit is contained in:
parent
ca80946379
commit
af4ca4f48b
@ -20,6 +20,8 @@ final class AuthenticationEvents
|
|||||||
* The event listener method receives a
|
* The event listener method receives a
|
||||||
* Symfony\Component\Security\Core\Event\AuthenticationEvent instance.
|
* Symfony\Component\Security\Core\Event\AuthenticationEvent instance.
|
||||||
*
|
*
|
||||||
|
* @Event
|
||||||
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const AUTHENTICATION_SUCCESS = 'security.authentication.success';
|
const AUTHENTICATION_SUCCESS = 'security.authentication.success';
|
||||||
@ -32,6 +34,8 @@ final class AuthenticationEvents
|
|||||||
* Symfony\Component\Security\Core\Event\AuthenticationFailureEvent
|
* Symfony\Component\Security\Core\Event\AuthenticationFailureEvent
|
||||||
* instance.
|
* instance.
|
||||||
*
|
*
|
||||||
|
* @Event
|
||||||
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const AUTHENTICATION_FAILURE = 'security.authentication.failure';
|
const AUTHENTICATION_FAILURE = 'security.authentication.failure';
|
||||||
|
Reference in New Issue
Block a user