mediatekformation

BasicAuthenticationListener extends AbstractListener
in package
implements ListenerInterface Uses LegacyListenerTrait

BasicAuthenticationListener implements Basic HTTP authentication.

Tags
author

Fabien Potencier fabien@symfony.com

final

since Symfony 4.3

Interfaces, Classes, Traits and Enums

ListenerInterface
Interface that must be implemented by firewall listeners.

Table of Contents

$authenticationEntryPoint  : mixed
$authenticationManager  : mixed
$ignoreFailure  : mixed
$logger  : mixed
$providerKey  : mixed
$sessionStrategy  : mixed
$tokenStorage  : mixed
__construct()  : mixed
__invoke()  : mixed
authenticate()  : mixed
Handles basic authentication.
setSessionAuthenticationStrategy()  : mixed
Call this method if your authentication token is stored to a session.
supports()  : bool|null
Tells whether the authenticate() method should be called or not depending on the incoming request.
migrateSession()  : mixed

Properties

Methods

__construct()

public __construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, AuthenticationEntryPointInterface $authenticationEntryPoint[, LoggerInterface $logger = null ]) : mixed
Parameters
$tokenStorage : TokenStorageInterface
$authenticationManager : AuthenticationManagerInterface
$providerKey : string
$authenticationEntryPoint : AuthenticationEntryPointInterface
$logger : LoggerInterface = null
Return values
mixed

supports()

Tells whether the authenticate() method should be called or not depending on the incoming request.

public supports(Request $request) : bool|null
Parameters
$request : Request
Return values
bool|null

Search results