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.

Internal

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Attributes
#[AsController]

Table of Contents

Properties

$formProtectionFactory  : FormProtectionFactory
$uriBuilder  : UriBuilder

Methods

__construct()  : mixed
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
processLogout()  : void
Performs the logout processing

Properties

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(ServerRequestInterface $request) : void
Parameters
$request : ServerRequestInterface

        
On this page

Search results