param('security.authentication.session_strategy.strategy'
),
service('security.csrf.token_storage'
)->
ignoreOnInvalid(),
]) ->
alias(SessionAuthenticationStrategyInterface::
class, 'security.authentication.session_strategy'
) ->
set('security.authentication.session_strategy_noop', SessionAuthenticationStrategy::
class) ->
args(['none'
]) ->
set('security.user_checker', InMemoryUserChecker::
class) ->
set('security.expression_language', ExpressionLanguage::
class) ->
args([service('cache.security_expression_language'
)->
nullOnInvalid()]) ->
set('security.authentication_utils', AuthenticationUtils::
class) ->
args([service('request_stack'
)]) ->
alias(AuthenticationUtils::
class, 'security.authentication_utils'
) // Authorization related services
->
set('security.access.decision_manager', AccessDecisionManager::
class) ->
args([[]]) ->
alias(AccessDecisionManagerInterface::
class, 'security.access.decision_manager'
) ->
set('security.role_hierarchy', RoleHierarchy::
class)