DefaultAuthenticationSuccessHandler
class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface
Class with the default authentication success handling logic.
Traits
Trait to get (and set) the URL the user last visited before being forced to authenticate.
Properties
protected | $httpUtils | ||
protected | $options | ||
protected | $providerKey | ||
protected | $defaultOptions |
Methods
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)
No description
string
getProviderKey()
Get the provider key.
setProviderKey(string $providerKey)
Set the provider key.
string
Details
Response
onAuthenticationSuccess(Request $request, TokenInterface $token)
This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
protected string
determineTargetUrl(Request $request)
Builds the target URL according to the defined options.