SessionAuthenticationStrategyInterface
in
SessionAuthenticationStrategyInterface.
Implementation are responsible for updating the session after an interactive authentication attempt was successful.
Tags
Table of Contents
Methods
- onAuthentication() : mixed
- This performs any necessary changes to the session.
Methods
onAuthentication()
This performs any necessary changes to the session.
public
onAuthentication(Request $request, TokenInterface $token) : mixed
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
- $token : TokenInterface