JsonLoginFactory

JsonLoginFactory

class JsonLoginFactory extends AbstractFactory

JsonLoginFactory creates services for JSON login authentication.

Methods

array create(ContainerBuilder $container, string $id, array $config, $userProviderId, $defaultEntryPointId)

Configures the container services required to use the authentication listener.

from AbstractFactory
addConfiguration(NodeDefinition $node) from AbstractFactory
addOption($name, $default = null) from AbstractFactory
__construct()
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.

Details

array create(ContainerBuilder $container, string $id, array $config, $userProviderId, $defaultEntryPointId)

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
$userProviderId
$defaultEntryPointId

Return Value

array containing three values: - the provider id - the listener id - the entry point id

addConfiguration(NodeDefinition $node)

Parameters

NodeDefinition $node

final addOption($name, $default = null)

Parameters

$name
$default

__construct()

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
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部