diff options
Diffstat (limited to 'Http/Authentication')
-rw-r--r-- | Http/Authentication/AuthenticationFailureHandlerInterface.php | 5 | ||||
-rw-r--r-- | Http/Authentication/AuthenticationSuccessHandlerInterface.php | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/Http/Authentication/AuthenticationFailureHandlerInterface.php b/Http/Authentication/AuthenticationFailureHandlerInterface.php index 02db734..5b619bc 100644 --- a/Http/Authentication/AuthenticationFailureHandlerInterface.php +++ b/Http/Authentication/AuthenticationFailureHandlerInterface.php @@ -2,7 +2,6 @@ namespace Symfony\Component\Security\Http\Authentication; -use Symfony\Component\HttpKernel\Event\GetResponseEvent; use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\HttpFoundation\Request; @@ -22,12 +21,10 @@ interface AuthenticationFailureHandlerInterface * called by authentication listeners inheriting from * AbstractAuthenticationListener. * - * @param GetResponseEvent $event the "onCoreRequest" event, this event always - * has the kernel as target * @param Request $request * @param AuthenticationException $exception * * @return Response the response to return */ - function onAuthenticationFailure(GetResponseEvent $event, Request $request, AuthenticationException $exception); + function onAuthenticationFailure(Request $request, AuthenticationException $exception); }
\ No newline at end of file diff --git a/Http/Authentication/AuthenticationSuccessHandlerInterface.php b/Http/Authentication/AuthenticationSuccessHandlerInterface.php index 0af47c9..4cdd976 100644 --- a/Http/Authentication/AuthenticationSuccessHandlerInterface.php +++ b/Http/Authentication/AuthenticationSuccessHandlerInterface.php @@ -2,7 +2,6 @@ namespace Symfony\Component\Security\Http\Authentication; -use Symfony\Component\HttpKernel\Event\GetResponseEvent; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\HttpFoundation\Request; @@ -22,12 +21,10 @@ interface AuthenticationSuccessHandlerInterface * is called by authentication listeners inheriting from * AbstractAuthenticationListener. * - * @param GetResponseEvent $event the "onCoreRequest" event, this event always - * has the kernel as target * @param Request $request * @param TokenInterface $token * * @return Response the response to return */ - function onAuthenticationSuccess(GetResponseEvent $event, Request $request, TokenInterface $token); + function onAuthenticationSuccess(Request $request, TokenInterface $token); }
\ No newline at end of file |