LogoutController
Script Class for logging a user out.
Does not display any content, just calls the logout-function for the current user and then makes a redirect.
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Methods
- logoutAction() : ResponseInterface
- Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now This will be split up in an abstract controller once proper routing/dispatcher is in place.
- getBackendUser() : BackendUserAuthentication
- Returns the current BE user.
- processLogout() : void
- Performs the logout processing
Methods
logoutAction()
Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now This will be split up in an abstract controller once proper routing/dispatcher is in place.
public
logoutAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
-
the current request
Return values
ResponseInterface —the response with the content
getBackendUser()
Returns the current BE user.
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationprocessLogout()
Performs the logout processing
protected
processLogout() : void