interface SessionAuthenticationStrategyInterface

SessionAuthenticationStrategyInterface.

Implementation are responsible for updating the session after an interactive authentication attempt was successful.

Methods

onAuthentication(Request $request, TokenInterface $token)

This performs any necessary changes to the session.

Details

at line 33
onAuthentication(Request $request, TokenInterface $token)

This performs any necessary changes to the session.

This method should be called before the TokenStorage is populated with a Token. It should be used by authentication listeners when a session is used.

Parameters

Request $request
TokenInterface $token