AuthenticationResult
interface \
Union type of the possible outcomes of an authentication attempt:
- Authenticated: a Principal was established
- Challenge: an interactive step is required, carrying the PSR-7 response that initiates it (redirect to an identity provider, MFA view, 401)
- Failure: authentication was attempted and explicitly failed
- NotApplicable: the authenticator is not responsible for this request, including a request that carries no credentials for it. The caller of the realm decides how to answer such a request, e.g. with a 401 that names the expected authentication scheme
Internal
not part of TYPO3 Core API yet, still experimental as part of the authentication pipeline groundwork