|
12 | 12 | namespace Symfony\Component\Security\Core; |
13 | 13 |
|
14 | 14 | use Psr\Container\ContainerInterface; |
15 | | -use Symfony\Bundle\SecurityBundle\Security\Security as NewSecurityHelper; |
| 15 | +use Symfony\Bundle\SecurityBundle\Security as NewSecurityHelper; |
16 | 16 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
17 | 17 | use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; |
18 | 18 | use Symfony\Component\Security\Core\User\UserInterface; |
19 | 19 |
|
20 | 20 | /** |
21 | 21 | * Helper class for commonly-needed security tasks. |
22 | 22 | * |
23 | | - * @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security\Security instead |
| 23 | + * @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security instead |
24 | 24 | */ |
25 | 25 | class Security implements AuthorizationCheckerInterface |
26 | 26 | { |
27 | 27 | /** |
28 | | - * @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security\Security::ACCESS_DENIED_ERROR instead |
| 28 | + * @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security::ACCESS_DENIED_ERROR instead |
29 | 29 | * |
30 | 30 | * In 7.0, move this constant to the NewSecurityHelper class and make it reference SecurityRequestAttributes:ACCESS_DENIED_ERROR. |
31 | 31 | */ |
32 | 32 | public const ACCESS_DENIED_ERROR = '_security.403_error'; |
33 | 33 |
|
34 | 34 | /** |
35 | | - * @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security\Security::AUTHENTICATION_ERROR instead |
| 35 | + * @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security::AUTHENTICATION_ERROR instead |
36 | 36 | * |
37 | 37 | * In 7.0, move this constant to the NewSecurityHelper class and make it reference SecurityRequestAttributes:AUTHENTICATION_ERROR. |
38 | 38 | */ |
39 | 39 | public const AUTHENTICATION_ERROR = '_security.last_error'; |
40 | 40 |
|
41 | 41 | /** |
42 | | - * @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security\Security::LAST_USERNAME instead |
| 42 | + * @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security::LAST_USERNAME instead |
43 | 43 | * |
44 | 44 | * In 7.0, move this constant to the NewSecurityHelper class and make it reference SecurityRequestAttributes:LAST_USERNAME. |
45 | 45 | */ |
|
0 commit comments