interface SessionAuthenticationStrategyInterface

SessionAuthenticationStrategyInterface.

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

Methods

void
onAuthentication(Request$request,TokenInterface$token)

This performs any necessary changes to the session.

Details

void 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

Return Value

void