We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a5658c commit 9fc86ccCopy full SHA for 9fc86cc
Security.php
@@ -13,14 +13,15 @@
13
14
use Psr\Container\ContainerInterface;
15
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
16
+use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
17
use Symfony\Component\Security\Core\User\UserInterface;
18
19
/**
20
* Helper class for commonly-needed security tasks.
21
*
22
* @final
23
*/
-class Security
24
+class Security implements AuthorizationCheckerInterface
25
{
26
const ACCESS_DENIED_ERROR = '_security.403_error';
27
const AUTHENTICATION_ERROR = '_security.last_error';
0 commit comments