*/ interface AuthenticationFailureHandlerInterface { /** * This is called when an interactive authentication attempt fails. This is * called by authentication listeners inheriting from * AbstractAuthenticationListener. * * @param EventInterface $event the "core.security" event, this event always * has the kernel as target * @param Request $request * @param AuthenticationException $exception * * @return Response the response to return */ function onAuthenticationFailure(EventInterface $event, Request $request, AuthenticationException $exception); }