JsonLoginFactory
class JsonLoginFactory extends AbstractFactory
JsonLoginFactory creates services for JSON login authentication.
Properties
protected | $options | from AbstractFactory | |
protected | $defaultSuccessHandlerOptions | from AbstractFactory | |
protected | $defaultFailureHandlerOptions | from AbstractFactory |
Methods
Configures the container services required to use the authentication listener.
Subclasses must return the id of a service which implements the AuthenticationProviderInterface.
Subclasses must return the id of the abstract listener template.
Subclasses may create an entry point of their as they see fit. The default implementation does not change the default entry point.
Subclasses may disable remember-me features for the listener, by always returning false from this method.
No description
No description
Defines the position at which the provider is called.
Defines the configuration key used to reference the provider in the firewall configuration.
Details
array
create(ContainerBuilder $container, string $id, array $config, $userProviderId, $defaultEntryPointId)
Configures the container services required to use the authentication listener.
protected string
createAuthProvider(ContainerBuilder $container, string $id, array $config, string $userProviderId)
Subclasses must return the id of a service which implements the AuthenticationProviderInterface.
protected string
getListenerId()
Subclasses must return the id of the abstract listener template.
Listener definitions should inherit from the AbstractAuthenticationListener like this:
In the above case, this method would return "my.listener.id".
protected string
createEntryPoint(ContainerBuilder $container, string $id, array $config, string $defaultEntryPointId)
Subclasses may create an entry point of their as they see fit. The default implementation does not change the default entry point.
protected bool
isRememberMeAware($config)
Subclasses may disable remember-me features for the listener, by always returning false from this method.