summaryrefslogtreecommitdiffstats
path: root/Http/Authentication
diff options
context:
space:
mode:
authorJohannes Schmitt <schmittjoh@gmail.com>2011-03-18 18:26:55 +0100
committerJohannes Schmitt <schmittjoh@gmail.com>2011-03-18 18:26:55 +0100
commitdf50cc3b4031f45308ea05f7d40a5327fb8bf295 (patch)
treeef0afd5390b426ef5de123be8017e5b83447e5b2 /Http/Authentication
parent66ddc5d30f049972a4ce9ba4b1f1c0206bd78ee9 (diff)
downloadsymfony-security-df50cc3b4031f45308ea05f7d40a5327fb8bf295.zip
symfony-security-df50cc3b4031f45308ea05f7d40a5327fb8bf295.tar.gz
symfony-security-df50cc3b4031f45308ea05f7d40a5327fb8bf295.tar.bz2
[Security] removed un-needed event parameter from many interfaces
Diffstat (limited to 'Http/Authentication')
-rw-r--r--Http/Authentication/AuthenticationFailureHandlerInterface.php5
-rw-r--r--Http/Authentication/AuthenticationSuccessHandlerInterface.php5
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