mediatekformation

RememberMeFactory
in package
implements SecurityFactoryInterface

Interfaces, Classes, Traits and Enums

SecurityFactoryInterface
SecurityFactoryInterface is the interface for all security authentication listener.

Table of Contents

$options  : mixed
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.

Properties

$options

protected mixed $options = ['name' => 'REMEMBERME', 'lifetime' => 31536000, 'path' => '/', 'domain' => null, 'secure' => false, 'httponly' => true, 'samesite' => null, 'always_remember_me' => false, 'remember_me_parameter' => '_remember_me']

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

Search results