mediatekformation

SecurityFactoryInterface

SecurityFactoryInterface is the interface for all security authentication listener.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

addConfiguration()  : mixed
create()  : array<string|int, mixed>
Configures the container services required to use the authentication listener.
getKey()  : string
Defines the configuration key used to reference the provider in the firewall configuration.
getPosition()  : string
Defines the position at which the provider is called.

Methods

create()

Configures the container services required to use the authentication listener.

public create(ContainerBuilder $container, string $id, array<string|int, mixed> $config, string $userProviderId, string|null $defaultEntryPointId) : array<string|int, mixed>
Parameters
$container : ContainerBuilder
$id : string

The unique id of the firewall

$config : array<string|int, mixed>

The options array for the listener

$userProviderId : string

The service id of the user provider

$defaultEntryPointId : string|null
Return values
array<string|int, mixed>

containing three values:

  • the provider id
  • the listener id
  • the entry point id

getKey()

Defines the configuration key used to reference the provider in the firewall configuration.

public getKey() : string
Return values
string

getPosition()

Defines the position at which the provider is called.

public getPosition() : string

Possible values: pre_auth, form, http, and remember_me.

Return values
string

Search results