diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2013-02-04 13:41:52 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2013-02-04 13:41:52 +0100 |
commit | fd9ade7daddcbda27d0bd69cd2a25da516389a49 (patch) | |
tree | 05841ae3437492c4271d15beb516ce397d7097e7 | |
parent | e642286ad42e113e0ed8e3343ad852121d2f467a (diff) | |
parent | 7561b128e4d69b9a3d801209970a780c3d416b01 (diff) | |
download | symfony-security-fd9ade7daddcbda27d0bd69cd2a25da516389a49.zip symfony-security-fd9ade7daddcbda27d0bd69cd2a25da516389a49.tar.gz symfony-security-fd9ade7daddcbda27d0bd69cd2a25da516389a49.tar.bz2 |
Merge branch '2.1' into 2.2
* 2.1:
fixed a circular call (closes #6864)
Correct comment in NativeSessionStorage regarding session.save_handler
[Security] Add PHPDoc to AuthenticationEvents
-rw-r--r-- | Core/AuthenticationEvents.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Core/AuthenticationEvents.php b/Core/AuthenticationEvents.php index 1e0e6ff..90b7142 100644 --- a/Core/AuthenticationEvents.php +++ b/Core/AuthenticationEvents.php @@ -13,7 +13,26 @@ namespace Symfony\Component\Security\Core; final class AuthenticationEvents { + /** + * The AUTHENTICATION_SUCCESS event occurs after a user is authenticated + * by one provider. + * + * The event listener method receives a + * Symfony\Component\Security\Core\Event\AuthenticationEvent instance. + * + * @var string + */ const AUTHENTICATION_SUCCESS = 'security.authentication.success'; + /** + * The AUTHENTICATION_FAILURE event occurs after a user cannot be + * authenticated by any of the providers. + * + * The event listener method receives a + * Symfony\Component\Security\Core\Event\AuthenticationFailureEvent + * instance. + * + * @var string + */ const AUTHENTICATION_FAILURE = 'security.authentication.failure'; } |