File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 17
17
use Symfony \Component \Security \Core \Authentication \Authenticator \AuthenticatorInterface ;
18
18
use Symfony \Component \Security \Guard \Firewall \GuardAuthenticatorListenerTrait ;
19
19
use Symfony \Component \Security \Guard \GuardAuthenticatorHandler ;
20
+ use Symfony \Component \Security \Http \RememberMe \RememberMeServicesInterface ;
20
21
21
22
/**
22
23
* @author Wouter de Jong <wouter@wouterj.nl>
@@ -34,6 +35,7 @@ class GuardManagerListener
34
35
private $ guardAuthenticators ;
35
36
protected $ providerKey ;
36
37
protected $ logger ;
38
+ private $ rememberMeServices ;
37
39
38
40
/**
39
41
* @param AuthenticatorInterface[] $guardAuthenticators
@@ -58,6 +60,11 @@ public function __invoke(RequestEvent $requestEvent)
58
60
$ this ->executeGuardAuthenticators ($ guardAuthenticators , $ requestEvent );
59
61
}
60
62
63
+ public function setRememberMeServices (RememberMeServicesInterface $ rememberMeServices )
64
+ {
65
+ $ this ->rememberMeServices = $ rememberMeServices ;
66
+ }
67
+
61
68
protected function getGuardKey (string $ key ): string
62
69
{
63
70
// Guard authenticators in the GuardManagerListener are already indexed
You can’t perform that action at this time.
0 commit comments