summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/Provider/AuthenticationProviderInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Authentication/Provider/AuthenticationProviderInterface.php')
-rw-r--r--Core/Authentication/Provider/AuthenticationProviderInterface.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/Core/Authentication/Provider/AuthenticationProviderInterface.php b/Core/Authentication/Provider/AuthenticationProviderInterface.php
index adad258..eaf9e07 100644
--- a/Core/Authentication/Provider/AuthenticationProviderInterface.php
+++ b/Core/Authentication/Provider/AuthenticationProviderInterface.php
@@ -25,6 +25,13 @@ use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterfac
interface AuthenticationProviderInterface extends AuthenticationManagerInterface
{
/**
+ * Use this constant for not provided username
+ *
+ * @var string
+ */
+ const USERNAME_NONE_PROVIDED = 'NONE_PROVIDED';
+
+ /**
* Checks whether this provider supports the given token.
*
* @param TokenInterface $token A TokenInterface instance