class CustomAuthenticationFailureHandler implements AuthenticationFailureHandlerInterface

Methods

__construct(AuthenticationFailureHandlerInterface $handler, array $options)

No description

onAuthenticationFailure(Request $request, AuthenticationException $exception)

This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener.

Details

at line 28
__construct(AuthenticationFailureHandlerInterface $handler, array $options)

Parameters

AuthenticationFailureHandlerInterface $handler An AuthenticationFailureHandlerInterface instance
array $options Options for processing a successful authentication attempt

at line 39
Response onAuthenticationFailure(Request $request, AuthenticationException $exception)

This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener.

Parameters

Request $request
AuthenticationException $exception

Return Value

Response The response to return, never null