BeforeUserLogoutEvent
FinalYes
Event fired before a user is going to be actively logged out.
An option to interrupt the regular logout flow from TYPO3 Core (so you can do this yourself) is also available.
Table of Contents
Methods
- __construct() : mixed
- disableRegularLogoutProcess() : void
- enableRegularLogoutProcess() : void
- getUser() : AbstractUserAuthentication
- getUserSession() : UserSession|null
- shouldLogout() : bool
Methods
__construct()
    public
                    __construct(AbstractUserAuthentication $user, UserSession|null $userSession) : mixed
    Parameters
- $user : AbstractUserAuthentication
- $userSession : UserSession|null
disableRegularLogoutProcess()
    public
                    disableRegularLogoutProcess() : void
    enableRegularLogoutProcess()
    public
                    enableRegularLogoutProcess() : void
    getUser()
    public
                    getUser() : AbstractUserAuthentication
    Return values
AbstractUserAuthenticationgetUserSession()
    public
                    getUserSession() : UserSession|null
    Return values
UserSession|nullshouldLogout()
    public
                    shouldLogout() : bool