diff options
author | Iltar van der Berg <ivanderberg@hostnet.nl> | 2014-09-29 09:09:34 +0200 |
---|---|---|
committer | Iltar van der Berg <ivanderberg@hostnet.nl> | 2014-09-29 09:38:25 +0200 |
commit | e70cd1cffa71f5d45b3b47d0ef4f5ac4e49db0fa (patch) | |
tree | cb29987795eec2280b860583e4a22124cdeb01e5 /Core/SecurityContextInterface.php | |
parent | 13d75567bf16e646536e9683097b6faa08dc728e (diff) | |
download | symfony-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.php | 5 |
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; } |