summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/SimpleHttpAuthenticatorInterface.php
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/SimpleHttpAuthenticatorInterface.php
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/SimpleHttpAuthenticatorInterface.php')
-rw-r--r--Core/Authentication/SimpleHttpAuthenticatorInterface.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/Core/Authentication/SimpleHttpAuthenticatorInterface.php b/Core/Authentication/SimpleHttpAuthenticatorInterface.php
new file mode 100644
index 0000000..b64aad9
--- /dev/null
+++ b/Core/Authentication/SimpleHttpAuthenticatorInterface.php
@@ -0,0 +1,22 @@
+<?php
+
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Symfony\Component\Security\Core\Authentication;
+
+use Symfony\Component\HttpFoundation\Request;
+
+/**
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+interface SimpleHttpAuthenticatorInterface extends SimpleAuthenticatorInterface
+{
+ public function createToken(Request $request, $providerKey);
+}