SessionAuthenticator

final class \TYPO3\CMS\Backend\Security\SessionAuthenticator

Implements
AuthenticatorInterface

Authenticates a backend user from an existing user session, without running the legacy authentication service chain. Also processes the logout request parameter the same way the legacy chain did, and challenges sessions that have not passed a required multi-factor authentication yet.

Attributes

#[AsAuthenticator]
$realm: 'backend'
$priority: 90

Table of Contents

Interfaces

AuthenticatorInterface
A single, composable step in the authentication pipeline of a realm.

Methods

__construct()  : mixed
authenticate()  : AuthenticationResult

Methods

__construct()

public __construct(LegacyAuthServiceDetector $legacyAuthServiceDetector, LocalIdentityProvider $identityProvider, LegacyUserPrincipalFactory $principalFactory, MfaChallengeResponseFactory $mfaChallengeResponseFactory, LoggerInterface $logger) : mixed

Parameters

$legacyAuthServiceDetector : LegacyAuthServiceDetector
$identityProvider : LocalIdentityProvider
$principalFactory : LegacyUserPrincipalFactory
$mfaChallengeResponseFactory : MfaChallengeResponseFactory
$logger : LoggerInterface
On this page