CustomAuthenticationSuccessHandler
in package
implements
AuthenticationSuccessHandlerInterface
Tags
Table of Contents
Interfaces
- AuthenticationSuccessHandlerInterface
- Interface for a custom authentication success handler.
Properties
- $handler : mixed
Methods
- __construct() : mixed
- onAuthenticationSuccess() : Response
- Usually called by AuthenticatorInterface::onAuthenticationSuccess() implementations.
Properties
$handler
private
mixed
$handler
Methods
__construct()
public
__construct(AuthenticationSuccessHandlerInterface $handler, array<string|int, mixed> $options, string $firewallName) : mixed
Parameters
- $handler : AuthenticationSuccessHandlerInterface
- $options : array<string|int, mixed>
-
Options for processing a successful authentication attempt
- $firewallName : string
onAuthenticationSuccess()
Usually called by AuthenticatorInterface::onAuthenticationSuccess() implementations.
public
onAuthenticationSuccess(Request $request, TokenInterface $token) : Response
Parameters
- $request : Request
- $token : TokenInterface