LegacyBackendAuthenticator
final class \
- Implements
- AuthenticatorInterface
Performs backend authentication through the legacy user authentication object and its T3_SERVICES chain, exposed as a pipeline authenticator.
Only used when an extension registered an additional authentication service or modified the chain behavior - every existing authentication service keeps working unchanged this way. Installations without such extensions are handled by the native SessionAuthenticator and PasswordAuthenticator. A pending multi-factor requirement is translated into a Challenge outcome, an established user is handed over as "legacyUser" attribute of the Authenticated outcome.
Internal
not part of TYPO3 Core API, only exists for the migration period towards native pipeline authenticators
Attributes
- #[AsAuthenticator]
- $realm: 'backend'
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, LoginRateLimiterGuard $rateLimiterGuard, MfaChallengeResponseFactory $mfaChallengeResponseFactory, LegacyUserPrincipalFactory $principalFactory) : mixed
Parameters
- $legacyAuthServiceDetector : LegacyAuthServiceDetector
- $rateLimiterGuard : LoginRateLimiterGuard
- $mfaChallengeResponseFactory : MfaChallengeResponseFactory
- $principalFactory : LegacyUserPrincipalFactory
authenticate()
public
authenticate(ServerRequestInterface $request, Realm $realm) : AuthenticationResult
Parameters
- $request : ServerRequestInterface
- $realm : Realm