private const FIREWALL_OPTION = 'login_link';
public function __construct(FirewallMap
$firewallMap, ContainerInterface
$loginLinkHandlerLocator, RequestStack
$requestStack) { $this->firewallMap =
$firewallMap;
$this->locator =
$loginLinkHandlerLocator;
$this->requestStack =
$requestStack;
} public function createLoginLink(UserInterface
$user, Request
$request = null, int
$lifetime = null
): LoginLinkDetails
{ return $this->
getForFirewall()->
createLoginLink($user,
$request,
$lifetime);
} public function consumeLoginLink(Request
$request): UserInterface
{ return $this->
getForFirewall()->
consumeLoginLink($request);
}}