Http\Authentication\CustomAuthenticationFailureHandler (Component\Security)
Symfony\Component\Security\Http\Authentication\CustomAuthenticationFailureHandler
class CustomAuthenticationFailureHandler implements AuthenticationFailureHandlerInterface
Methods
__construct(AuthenticationFailureHandlerInterface $handler, array $options) Constructor. | ||
Response | onAuthenticationFailure(Request $request, AuthenticationException $exception) This is called when an interactive authentication attempt fails. |
Details
public __construct(AuthenticationFailureHandlerInterface $handler, array $options)
Constructor.
public Response onAuthenticationFailure(Request $request, AuthenticationException $exception)
This is called when an interactive authentication attempt fails.
This is called by authentication listeners inheriting from AbstractAuthenticationListener.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Http/Authentication/CustomAuthenticationFailureHandler.html