AuthenticationSuccessHandlerInterface
in
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.
Tags
Table of Contents
- onAuthenticationSuccess() : Response
- This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
Methods
onAuthenticationSuccess()
This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
public
onAuthenticationSuccess(Request $request, TokenInterface $token) : Response
Parameters
- $request : Request
- $token : TokenInterface