RememberMeFactory
class RememberMeFactory implements SecurityFactoryInterface
Methods
array | create(ContainerBuilder $container, string $id, array $config, string $userProvider, string $defaultEntryPoint) Configures the container services required to use the authentication listener. | |
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) |
Details
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 |
string getPosition()
Defines the position at which the provider is called.
Possible values: preauth, form, http, and rememberme.
Return Value
string |
string getKey()
Defines the configuration key used to reference the provider in the firewall configuration.
Return Value
string |
addConfiguration(NodeDefinition $node)
Parameters
NodeDefinition | $node |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/RememberMeFactory.html