FrontendPasswordAuthenticator
final class \
- Implements
- AuthenticatorInterface
Authenticates a frontend user by username and password submitted with a "logintype=login" request (e.g. the felogin plugin form), without running the legacy authentication service chain. The storage page restriction is taken from the signed request token, as provided by the felogin form via the BeforeRequestTokenProcessedEvent listener.
Internal
not part of TYPO3 Core API yet, still experimental as part of the authentication pipeline groundwork
Attributes
- #[AsAuthenticator]
- $realm: 'frontend'
- $priority: 100
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, LoginRateLimiterGuard $rateLimiterGuard, PasswordCredentialVerifier $credentialVerifier, EventDispatcherInterface $eventDispatcher, LoggerInterface $logger) : mixed
Parameters
- $legacyAuthServiceDetector : LegacyAuthServiceDetector
- $identityProvider : LocalIdentityProvider
- $principalFactory : LegacyUserPrincipalFactory
- $rateLimiterGuard : LoginRateLimiterGuard
- $credentialVerifier : PasswordCredentialVerifier
- $eventDispatcher : EventDispatcherInterface
- $logger : LoggerInterface
authenticate()
public
authenticate(ServerRequestInterface $request, Realm $realm) : AuthenticationResult
Parameters
- $request : ServerRequestInterface
- $realm : Realm