AuthenticationFailureHandlerInterface
in
Interface for custom authentication failure handlers.
If you want to customize the failure handling process, instead of overwriting the respective listener globally, you can set a custom failure handler which implements this interface.
Tags
Table of Contents
Methods
- onAuthenticationFailure() : Response
- This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
Methods
onAuthenticationFailure()
This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
public
onAuthenticationFailure(Request $request, AuthenticationException $exception) : Response
Parameters
- $request : Request
- $exception : AuthenticationException