summaryrefslogtreecommitdiffstats
path: root/Core/Authentication
diff options
context:
space:
mode:
authorJordi Boggiano <j.boggiano@seld.be>2013-04-12 20:08:12 +0200
committerJordi Boggiano <j.boggiano@seld.be>2013-05-08 15:02:42 +0200
commit12d83b3c17382667fac1d6891d6d627435e2396a (patch)
treecff8a579a02c6f0ff71de44ad147006bfda7581b /Core/Authentication
parent3804723c24767f5122a5446cab74db241a7e66bf (diff)
downloadsymfony-security-12d83b3c17382667fac1d6891d6d627435e2396a.zip
symfony-security-12d83b3c17382667fac1d6891d6d627435e2396a.tar.gz
symfony-security-12d83b3c17382667fac1d6891d6d627435e2396a.tar.bz2
[Security] Renamed simple_token to simple_http, added support for failure and success handler to both simple firewalls
Diffstat (limited to 'Core/Authentication')
-rw-r--r--Core/Authentication/SimpleAuthenticatorInterface.php6
-rw-r--r--Core/Authentication/SimpleHttpAuthenticatorInterface.php (renamed from Core/Authentication/SimpleTokenAuthenticatorInterface.php)2
2 files changed, 1 insertions, 7 deletions
diff --git a/Core/Authentication/SimpleAuthenticatorInterface.php b/Core/Authentication/SimpleAuthenticatorInterface.php
index fbbaa37..868d072 100644
--- a/Core/Authentication/SimpleAuthenticatorInterface.php
+++ b/Core/Authentication/SimpleAuthenticatorInterface.php
@@ -12,9 +12,7 @@
namespace Symfony\Component\Security\Core\Authentication;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
-use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Core\User\UserProviderInterface;
-use Symfony\Component\HttpFoundation\Request;
/**
* @author Jordi Boggiano <j.boggiano@seld.be>
@@ -24,8 +22,4 @@ interface SimpleAuthenticatorInterface
public function authenticateToken(TokenInterface $token, UserProviderInterface $userProvider, $providerKey);
public function supportsToken(TokenInterface $token, $providerKey);
-
- public function onAuthenticationFailure(Request $request, AuthenticationException $exception);
-
- public function onAuthenticationSuccess(Request $request, TokenInterface $token);
}
diff --git a/Core/Authentication/SimpleTokenAuthenticatorInterface.php b/Core/Authentication/SimpleHttpAuthenticatorInterface.php
index a611754..b64aad9 100644
--- a/Core/Authentication/SimpleTokenAuthenticatorInterface.php
+++ b/Core/Authentication/SimpleHttpAuthenticatorInterface.php
@@ -16,7 +16,7 @@ use Symfony\Component\HttpFoundation\Request;
/**
* @author Jordi Boggiano <j.boggiano@seld.be>
*/
-interface SimpleTokenAuthenticatorInterface extends SimpleAuthenticatorInterface
+interface SimpleHttpAuthenticatorInterface extends SimpleAuthenticatorInterface
{
public function createToken(Request $request, $providerKey);
}