interface AuthenticationSuccessHandlerInterface
Interface for a custom authentication success handler.
If you want to customize the success handling process, instead of overwriting the respective listener globally, you can set a custom success handler which implements this interface.
Response | onAuthenticationSuccess(Request $request, TokenInterface $token) This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener. |
This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
Request | $request | |
TokenInterface | $token |
Response | never null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Http/Authentication/AuthenticationSuccessHandlerInterface.html