LogoutController

class \TYPO3\CMS\Backend\Controller\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.

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

processLogout()

Performs the logout processing

protected processLogout() : void
On this page