AuthenticatorFactoryInterface
in
Tags
Table of Contents
Methods
- addConfiguration() : mixed
- createAuthenticator() : string|array<string|int, string>
- Creates the authenticator service(s) for the provided configuration.
- getKey() : string
- Defines the configuration key used to reference the provider in the firewall configuration.
- getPriority() : int
- Defines the priority at which the authenticator is called.
Methods
addConfiguration()
public
addConfiguration(NodeDefinition $builder) : mixed
Parameters
- $builder : NodeDefinition
createAuthenticator()
Creates the authenticator service(s) for the provided configuration.
public
createAuthenticator(ContainerBuilder $container, string $firewallName, array<string|int, mixed> $config, string $userProviderId) : string|array<string|int, string>
Parameters
- $container : ContainerBuilder
- $firewallName : string
- $config : array<string|int, mixed>
- $userProviderId : string
Return values
string|array<string|int, string> —The authenticator service ID(s) to be used by the firewall
getKey()
Defines the configuration key used to reference the provider in the firewall configuration.
public
getKey() : string
Return values
stringgetPriority()
Defines the priority at which the authenticator is called.
public
getPriority() : int