summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/SimplePreAuthenticatorInterface.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2013-05-05 18:58:35 +0200
committerJordi Boggiano <j.boggiano@seld.be>2013-05-08 15:02:48 +0200
commita17191f515bb098f083cb02ac280ed96bd5e0b72 (patch)
tree520be125578141a8420cb81ef182fabe2cc630d5 /Core/Authentication/SimplePreAuthenticatorInterface.php
parent5bc6c9f81d2650c6d5ed123ddb8afde33f57bdcf (diff)
downloadsymfony-security-a17191f515bb098f083cb02ac280ed96bd5e0b72.zip
symfony-security-a17191f515bb098f083cb02ac280ed96bd5e0b72.tar.gz
symfony-security-a17191f515bb098f083cb02ac280ed96bd5e0b72.tar.bz2
moved the simple HTTP authenticator to a pre-auth one
Diffstat (limited to 'Core/Authentication/SimplePreAuthenticatorInterface.php')
-rw-r--r--Core/Authentication/SimplePreAuthenticatorInterface.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/Core/Authentication/SimplePreAuthenticatorInterface.php b/Core/Authentication/SimplePreAuthenticatorInterface.php
new file mode 100644
index 0000000..6164e7d
--- /dev/null
+++ b/Core/Authentication/SimplePreAuthenticatorInterface.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 SimplePreAuthenticatorInterface extends SimpleAuthenticatorInterface
+{
+ public function createToken(Request $request, $providerKey);
+}