AbstractFactory

class AbstractFactory implements SecurityFactoryInterface

AbstractFactory is the base class for all classes inheriting from AbstractAuthenticationListener.

Methods

array create(ContainerBuilder $container, string $id, array $config, $userProviderId, $defaultEntryPointId)

Configures the container services required to use the authentication listener.

addConfiguration(NodeDefinition $node)
addOption($name, $default = null)

Details

array create(ContainerBuilder $container, string $id, array $config, $userProviderId, $defaultEntryPointId)

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
$userProviderId
$defaultEntryPointId

Return Value

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

addConfiguration(NodeDefinition $node)

Parameters

NodeDefinition $node

final addOption($name, $default = null)

Parameters

$name
$default