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. This is called by authentication listeners inheriting from AbstractAuthenticationListener.

Details

__construct(AuthenticationFailureHandlerInterface $handler, array $options)

Constructor.

Parameters

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

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
doc_Symfony
2016-10-28 06:12:53
Comments
Leave a Comment

Please login to continue.