CustomAuthenticationSuccessHandler

class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface

Methods

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

Constructor.

Response onAuthenticationSuccess(Request $request, TokenInterface $token)

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

Details

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

Constructor.

Parameters

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

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

Please login to continue.