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