AbstractFactory
abstract class AbstractFactory implements SecurityFactoryInterface
AbstractFactory is the base class for all classes inheriting from AbstractAuthenticationListener.
Properties
protected | $options | ||
protected | $defaultSuccessHandlerOptions | ||
protected | $defaultFailureHandlerOptions |
Methods
Configures the container services required to use the authentication listener.
No description
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
No description
No description
No description
Details
array
create(ContainerBuilder $container, string $id, array $config, $userProviderId, $defaultEntryPointId)
Configures the container services required to use the authentication listener.
abstract protected string
createAuthProvider(ContainerBuilder $container, string $id, array $config, string $userProviderId)
Subclasses must return the id of a service which implements the AuthenticationProviderInterface.
abstract 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.