Symfony\Component\Security\Http\Session\SessionAuthenticationStrategyInterface::onAuthentication
This performs any necessary changes to the session.
This method is called before the SecurityContext is populated with a Token, and only by classes inheriting from AbstractAuthenticationListener.
Signature
public function onAuthentication(Request
$request,
TokenInterface
$token )