AuthenticatorManager

final readonly class \TYPO3\CMS\Core\Authentication\Pipeline\AuthenticatorManager

Resolves a request to an authentication outcome by asking the authenticators registered for the realm in order of their priority.

Authenticators registered for "frontend" serve the frontend realm of every site. The first authenticator that returns anything other than NotApplicable determines the outcome. If none does, NotApplicable is returned and the caller decides how to treat the anonymous request. A principal established for another realm than the requested one is refused.

Table of Contents

Methods

__construct()  : mixed
authenticate()  : AuthenticationResult

Methods

__construct()

public __construct(ContainerInterface $authenticators, array<string, array<int, string>> $authenticatorIdsByRealm) : mixed

Parameters

$authenticators : ContainerInterface

the authenticators by service id

$authenticatorIdsByRealm : array<string, array<int, string>>

service ids per registered realm, ordered by priority

On this page