interface AuthenticationSuccessHandlerInterface

Interface for a custom authentication success handler.

If you want to customize the success handling process, instead of overwriting the respective listener globally, you can set a custom success handler which implements this interface.

Methods

Response|null
onAuthenticationSuccess(Request$request,TokenInterface$token)

Usually called by AuthenticatorInterface::onAuthenticationSuccess() implementations.

Details

Response|null onAuthenticationSuccess(Request$request,TokenInterface$token)

Usually called by AuthenticatorInterface::onAuthenticationSuccess() implementations.

Parameters

Request $request
TokenInterface $token

Return Value

Response|null