class FormLoginFactory extends AbstractFactory
FormLoginFactory creates services for form login authentication.
array | create(ContainerBuilder $container, string $id, array $config, $userProviderId, $defaultEntryPointId) Configures the container services required to use the authentication listener. | from AbstractFactory |
addConfiguration(NodeDefinition $node) | ||
addOption($name, $default = null) | from AbstractFactory | |
__construct() | ||
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. |
Configures the container services required to use the authentication listener.
ContainerBuilder | $container | |
string | $id | The unique id of the firewall |
array | $config | The options array for the listener |
$userProviderId | ||
$defaultEntryPointId |
array | containing three values: - the provider id - the listener id - the entry point id |
NodeDefinition | $node |
$name | ||
$default |
Defines the position at which the provider is called.
Possible values: preauth, form, http, and rememberme.
string |
Defines the configuration key used to reference the provider in the firewall configuration.
string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/FormLoginFactory.html