class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface

Methods

__construct(AuthenticationSuccessHandlerInterface $handler, array $options, string $providerKey)

No description

onAuthenticationSuccess(Request $request, TokenInterface $token)

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

Details

at line 29
__construct(AuthenticationSuccessHandlerInterface $handler, array $options, string $providerKey)

Parameters

AuthenticationSuccessHandlerInterface $handler An AuthenticationSuccessHandlerInterface instance
array $options Options for processing a successful authentication attempt
string $providerKey The provider key

at line 43
Response onAuthenticationSuccess(Request $request, TokenInterface $token)

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

Parameters

Request $request
TokenInterface $token

Return Value

Response never null