class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface
Class with the default authentication success handling logic.
TargetPathTrait | Trait to get (and set) the URL the user last visited before being forced to authenticate. |
__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. |
Constructor.
This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
Gets the options.
Sets the options.
Get the provider key.
Set the provider key.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Security/Http/Authentication/DefaultAuthenticationSuccessHandler.html