class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface
Class with the default authentication success handling logic.
Traits
TargetPathTrait | Trait to get (and set) the URL the user last visited before being forced to authenticate. |
Methods
__construct(HttpUtils $httpUtils, array $options = array()) 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. | |
array | getOptions() Gets the options. | |
setOptions(array $options) Sets the options. | ||
string | getProviderKey() Get the provider key. | |
setProviderKey(string $providerKey) Set the provider key. |
Details
__construct(HttpUtils $httpUtils, array $options = array())
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.
array getOptions()
Gets the options.
setOptions(array $options)
Sets the options.
string getProviderKey()
Get the provider key.
setProviderKey(string $providerKey)
Set the provider key.
Please login to continue.