Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface::onAuthenticationFailure
This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
Signature
public function onAuthenticationFailure(Request
$request,
AuthenticationException
$exception )
Parameters
$request
— Symfony\Component\HttpFoundation\Request
$exception
— Symfony\Component\Security\Core\Exception\AuthenticationException
Returns
- Response
- The response to return, never null