class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface

Class with the default authentication success handling logic.

Methods

__construct(HttpUtils $httpUtils, array $options = array())

Constructor.

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

at line line 45
__construct(HttpUtils $httpUtils, array $options = array())

Constructor.

Parameters

HttpUtils $httpUtils
array $options Options for processing a successful authentication attempt.

at line line 54
Response onAuthenticationSuccess(Request $request, TokenInterface $token)

This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.

Parameters

Request $request
TokenInterface $token

Return Value

Response never null

at line line 64
array getOptions()

Gets the options.

Return Value

array An array of options

at line line 74
setOptions(array $options)

Sets the options.

Parameters

array $options An array of options

at line line 84
string getProviderKey()

Get the provider key.

Return Value

string

at line line 94
setProviderKey(string $providerKey)

Set the provider key.

Parameters

string $providerKey