Http\Authentication\CustomAuthenticationSuccessHandler (Component\Security)
Symfony\Component\Security\Http\Authentication\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. |
Details
public __construct(AuthenticationSuccessHandlerInterface $handler, array $options, string $providerKey)
Constructor.
public Response onAuthenticationSuccess(Request $request, TokenInterface $token)
This is called when an interactive authentication attempt succeeds.
This is called by authentication listeners inheriting from AbstractAuthenticationListener.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Http/Authentication/CustomAuthenticationSuccessHandler.html