File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 24
24
use Symfony \Component \Security \Http \Authenticator \AuthenticatorInterface ;
25
25
use Symfony \Component \Security \Http \Event \LogoutEvent ;
26
26
use Symfony \Component \Security \Http \ParameterBagUtils ;
27
+ use Symfony \Component \Security \Http \SecurityRequestAttributes ;
27
28
use Symfony \Contracts \Service \ServiceProviderInterface ;
28
29
29
30
/**
37
38
*/
38
39
class Security extends LegacySecurity
39
40
{
41
+ public const ACCESS_DENIED_ERROR = SecurityRequestAttributes::ACCESS_DENIED_ERROR ;
42
+ public const AUTHENTICATION_ERROR = SecurityRequestAttributes::AUTHENTICATION_ERROR ;
43
+ public const LAST_USERNAME = SecurityRequestAttributes::LAST_USERNAME ;
44
+
40
45
public function __construct (private readonly ContainerInterface $ container , private readonly array $ authenticators = [])
41
46
{
42
47
parent ::__construct ($ container , false );
You can’t perform that action at this time.
0 commit comments