->
setDefinition($linkerId,
new ChildDefinition('security.authenticator.abstract_login_link_handler'
)) ->
replaceArgument(1,
new Reference($userProviderId)) ->
replaceArgument(2,
new Reference($signatureHasherId)) ->
replaceArgument(3,
$linkerOptions) ->
addTag('security.authenticator.login_linker',
['firewall' =>
$firewallName]) ;
$authenticatorId = 'security.authenticator.login_link.'.
$firewallName;
$container ->
setDefinition($authenticatorId,
new ChildDefinition('security.authenticator.login_link'
)) ->
replaceArgument(0,
new Reference($linkerId)) ->
replaceArgument(2,
new Reference($this->
createAuthenticationSuccessHandler($container,
$firewallName,
$config))) ->
replaceArgument(3,
new Reference($this->
createAuthenticationFailureHandler($container,
$firewallName,
$config))) ->
replaceArgument(4,
[ 'check_route' =>
$config['check_route'
],
'check_post_only' =>
$config['check_post_only'
],
]);
return $authenticatorId;
} public function getPriority(): int
{