[FEATURE] Make PSR-7 request accessible for authentication services
Custom TYPO3 authentication services can now directly access the PSR-7 Request object via the $authInfo array, handed over to the initAuth() method of those services. This therefore allows to further reduce usages of PHP super globals and `GeneralUtility::getIndpEnv()`. Resolves: #100116 Releases: main Signed-off-by:Torben Hansen <derhansen@gmail.com> Change-Id: I12a3484b49862886e7013dc2106a0705ef39c91f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78077 Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php 13 additions, 11 deletions...ore/Classes/Authentication/AbstractUserAuthentication.php
- typo3/sysext/core/Documentation/Changelog/12.3/Feature-100116-MakePSR-7RequestAccessibleForAuthenticationServices.rst 43 additions, 0 deletions...6-MakePSR-7RequestAccessibleForAuthenticationServices.rst
- typo3/sysext/core/Tests/Functional/Authentication/AbstractUserAuthenticationTest.php 2 additions, 1 deletion...ctional/Authentication/AbstractUserAuthenticationTest.php
- typo3/sysext/install/Classes/Controller/BackendModuleController.php 2 additions, 2 deletions...xt/install/Classes/Controller/BackendModuleController.php
Please register or sign in to comment