class SessionAuthenticationStrategy implements SessionAuthenticationStrategyInterface
The default session strategy implementation.
Supports the following strategies: NONE: the session is not changed MIGRATE: the session id is updated, attributes are kept INVALIDATE: the session id is updated, attributes are lost
NONE | |
MIGRATE | |
INVALIDATE |
__construct($strategy) | ||
onAuthentication(Request $request, TokenInterface $token) This performs any necessary changes to the session. |
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.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Security/Http/Session/SessionAuthenticationStrategy.html