[TASK] Migrate authentication logic into ApiUser class
This change adds an object called "ApiUser" which can be built with a factory method "createFromSoapAccountData". Using the ApiUser allows for easy access of the user data, and covers both TSFE and LDAP dependencies which can later be exchanged easily for other purposes via a possible ApiUserInterface. The helper class usages are now reduced to continue removing legacy code and TYPO3_DB calls.
Showing with 215 additions and 139 deletions