8000 [Security] Add PHPDoc to AuthenticationEvents · 77web/symfony@e7624b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit e7624b6

Browse files
committed
[Security] Add PHPDoc to AuthenticationEvents
1 parent fada75c commit e7624b6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/Symfony/Component/Security/Core/AuthenticationEvents.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,26 @@
1313

1414
final class AuthenticationEvents
1515
{
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+
*/
1625
const AUTHENTICATION_SUCCESS = 'security.authentication.success';
1726

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+
*/
1837
const AUTHENTICATION_FAILURE = 'security.authentication.failure';
1938
}

0 commit comments

Comments
 (0)
0