class CustomAuthenticationFailureHandler implements AuthenticationFailureHandlerInterface
__construct(AuthenticationFailureHandlerInterface $handler, array $options) | ||
Response | onAuthenticationFailure(Request $request, AuthenticationException $exception) This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener. |
AuthenticationFailureHandlerInterface | $handler | An AuthenticationFailureHandlerInterface instance |
array | $options | Options for processing a successful authentication attempt |
This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
Request | $request | |
AuthenticationException | $exception |
Response | The response to return, never null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Http/Authentication/CustomAuthenticationFailureHandler.html