mediatekformation

HttpBasicFactory
in package
implements SecurityFactoryInterface

HttpBasicFactory creates services for HTTP basic authentication.

Tags
author

Fabien Potencier fabien@symfony.com

Interfaces, Classes, Traits and Enums

SecurityFactoryInterface
SecurityFactoryInterface is the interface for all security authentication listener.

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.
createEntryPoint()  : mixed

Methods

create()

Configures the container services required to use the authentication listener.

public create(ContainerBuilder $container, mixed $id, mixed $config, mixed $userProvider, mixed $defaultEntryPoint) : array<string|int, mixed>
Parameters
$container : ContainerBuilder
$id : mixed

The unique id of the firewall

$config : mixed

The options array for the listener

$userProvider : mixed
$defaultEntryPoint : mixed
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

createEntryPoint()

protected createEntryPoint(mixed $container, mixed $id, mixed $config, mixed $defaultEntryPoint) : mixed
Parameters
$container : mixed
$id : mixed
$config : mixed
$defaultEntryPoint : mixed
Return values
mixed

Search results