diff options
author | Olivier Dolbeau <odolbeau@lafourchette.com> | 2012-01-24 17:36:01 +0100 |
---|---|---|
committer | Olivier Dolbeau <odolbeau@lafourchette.com> | 2012-01-24 17:57:22 +0100 |
commit | 1c7baca3ae299de80754f7dcb94ee4a7637f7f74 (patch) | |
tree | 5bf773b9cc795cf8b44120eae9a887df026bd392 /Http/Authentication | |
parent | 41adf77f0ab66a12202bf123baaf5d1b90e01176 (diff) | |
download | symfony-security-1c7baca3ae299de80754f7dcb94ee4a7637f7f74.zip symfony-security-1c7baca3ae299de80754f7dcb94ee4a7637f7f74.tar.gz symfony-security-1c7baca3ae299de80754f7dcb94ee4a7637f7f74.tar.bz2 |
Authentication(Success|Failure)Handler can now return null
Diffstat (limited to 'Http/Authentication')
-rw-r--r-- | Http/Authentication/AuthenticationFailureHandlerInterface.php | 2 | ||||
-rw-r--r-- | Http/Authentication/AuthenticationSuccessHandlerInterface.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Http/Authentication/AuthenticationFailureHandlerInterface.php b/Http/Authentication/AuthenticationFailureHandlerInterface.php index d5d0067..7a5cc23 100644 --- a/Http/Authentication/AuthenticationFailureHandlerInterface.php +++ b/Http/Authentication/AuthenticationFailureHandlerInterface.php @@ -33,7 +33,7 @@ interface AuthenticationFailureHandlerInterface * @param Request $request * @param AuthenticationException $exception * - * @return Response the response to return + * @return Response|null the response to return */ function onAuthenticationFailure(Request $request, AuthenticationException $exception); } diff --git a/Http/Authentication/AuthenticationSuccessHandlerInterface.php b/Http/Authentication/AuthenticationSuccessHandlerInterface.php index 3d7c561..1a46ad4 100644 --- a/Http/Authentication/AuthenticationSuccessHandlerInterface.php +++ b/Http/Authentication/AuthenticationSuccessHandlerInterface.php @@ -33,7 +33,7 @@ interface AuthenticationSuccessHandlerInterface * @param Request $request * @param TokenInterface $token * - * @return Response the response to return + * @return Response|null the response to return */ function onAuthenticationSuccess(Request $request, TokenInterface $token); } |