class GuardAuthenticationFactory implements SecurityFactoryInterface

Configures the "guard" authentication provider key under a firewall.

Methods

string
getPosition()

Defines the position at which the provider is called.

string
getKey()

Defines the configuration key used to reference the provider in the firewall configuration.

addConfiguration(NodeDefinition $node)

No description

array
create(ContainerBuilder $container, string $id, array $config, string $userProvider, string $defaultEntryPoint)

Configures the container services required to use the authentication listener.

Details

at line 27
string getPosition()

Defines the position at which the provider is called.

Possible values: pre_auth, form, http, and remember_me.

Return Value

string

at line 32
string getKey()

Defines the configuration key used to reference the provider in the firewall configuration.

Return Value

string

at line 37
addConfiguration(NodeDefinition $node)

Parameters

NodeDefinition $node

at line 58
array create(ContainerBuilder $container, string $id, array $config, string $userProvider, string $defaultEntryPoint)

Configures the container services required to use the authentication listener.

Parameters

ContainerBuilder $container
string $id The unique id of the firewall
array $config The options array for the listener
string $userProvider The service id of the user provider
string $defaultEntryPoint

Return Value

array containing three values: - the provider id - the listener id - the entry point id