summaryrefslogtreecommitdiffstats
path: root/Core/SecurityContextInterface.php
diff options
context:
space:
mode:
authorIltar van der Berg <ivanderberg@hostnet.nl>2014-09-29 09:09:34 +0200
committerIltar van der Berg <ivanderberg@hostnet.nl>2014-09-29 09:38:25 +0200
commite70cd1cffa71f5d45b3b47d0ef4f5ac4e49db0fa (patch)
treecb29987795eec2280b860583e4a22124cdeb01e5 /Core/SecurityContextInterface.php
parent13d75567bf16e646536e9683097b6faa08dc728e (diff)
downloadsymfony-security-e70cd1cffa71f5d45b3b47d0ef4f5ac4e49db0fa.zip
symfony-security-e70cd1cffa71f5d45b3b47d0ef4f5ac4e49db0fa.tar.gz
symfony-security-e70cd1cffa71f5d45b3b47d0ef4f5ac4e49db0fa.tar.bz2
[DX] Moved constants to a final class
Diffstat (limited to 'Core/SecurityContextInterface.php')
-rw-r--r--Core/SecurityContextInterface.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/Core/SecurityContextInterface.php b/Core/SecurityContextInterface.php
index 844482b..4421622 100644
--- a/Core/SecurityContextInterface.php
+++ b/Core/SecurityContextInterface.php
@@ -20,6 +20,9 @@ use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
* @deprecated Deprecated since version 2.6, to be removed in 3.0.
*/
-interface SecurityContextInterface extends TokenStorageInterface, AuthorizationCheckerInterface, SecuritySessionStorageInterface
+interface SecurityContextInterface extends TokenStorageInterface, AuthorizationCheckerInterface
{
+ const ACCESS_DENIED_ERROR = Security::ACCESS_DENIED_ERROR;
+ const AUTHENTICATION_ERROR = Security::AUTHENTICATION_ERROR;
+ const LAST_USERNAME = Security::LAST_USERNAME;
}