SessionAuthenticationStrategyInterface
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
onAuthentication(Request $request, TokenInterface $token)
This performs any necessary changes to the session.
This method is called before the TokenStorage is populated with a Token, and only by classes inheriting from AbstractAuthenticationListener.
Parameters
Request | $request | |
TokenInterface | $token |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Http/Session/SessionAuthenticationStrategyInterface.html