SecurityFactoryInterface::getKey()

string getKey() Defines the configuration key used to reference the provider in the firewall configuration. Return Value string

SecurityFactoryInterface::create()

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 lis

SecurityFactoryInterface::addConfiguration()

addConfiguration(NodeDefinition $builder) Parameters NodeDefinition $builder

SecurityFactoryInterface

interface SecurityFactoryInterface SecurityFactoryInterface is the interface for all security authentication listener. 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

SecurityExtension::load()

load(array $configs, ContainerBuilder $container) Loads a specific configuration. Parameters array $configs An array of configuration values ContainerBuilder $container A ContainerBuilder instance Exceptions InvalidArgumentException When provided tag is not defined in this extension

SecurityExtension::isGranted()

isGranted($role, $object = null, $field = null) Parameters $role $object $field

SecurityExtension::getXsdValidationBasePath()

string getXsdValidationBasePath() Returns the base path for the XSD files. Return Value string The XSD base path

SecurityExtension::getNamespace()

string getNamespace() Returns the namespace to be used for this extension (XML namespace). Return Value string The XML namespace

SecurityExtension::getName()

getName() {@inheritdoc}

SecurityExtension::getFunctions()

getFunctions() {@inheritdoc}