AuthenticatorInterface
interface \
A single, composable step in the authentication pipeline of a realm.
Implementations are registered for the realms they serve with the AsAuthenticator attribute, e.g. #[AsAuthenticator(realm: 'backend', priority: 100)], and are asked by the AuthenticatorManager only for these realms, those with a higher priority first. An authenticator resolves the request to one of the four AuthenticationResult outcomes, a request it has no credentials for to NotApplicable.
Internal
not part of TYPO3 Core API yet, still experimental as part of the authentication pipeline groundwork
Table of Contents
Methods
Methods
authenticate()
public
authenticate(ServerRequestInterface $request, Realm $realm) : AuthenticationResult
Parameters
- $request : ServerRequestInterface
- $realm : Realm