TYPO3  7.6
Public Member Functions | Protected Member Functions | List of all members
SwitchBackUserHook Class Reference

Public Member Functions

 switchBack ($params, AbstractUserAuthentication $authentication)
 

Protected Member Functions

 isAHandledBackendSession (AbstractUserAuthentication $authentication)
 

Detailed Description

Backend user switchback, for logoff_pre_processing hook within class

Definition at line 25 of file SwitchBackUserHook.php.

Member Function Documentation

isAHandledBackendSession ( AbstractUserAuthentication  $authentication)
protected

Check if the given authentication object is a backend session and contains all necessary information to allow switching.

Parameters
AbstractUserAuthentication$authentication
Returns
bool

Definition at line 52 of file SwitchBackUserHook.php.

Referenced by SwitchBackUserHook\switchBack().

switchBack (   $params,
AbstractUserAuthentication  $authentication 
)

Switch backend user session.

Parameters
array$params
AbstractUserAuthentication$authentication
See Also
AbstractUserAuthentication
Returns
void

Definition at line 35 of file SwitchBackUserHook.php.

References SwitchBackUserHook\isAHandledBackendSession(), GeneralUtility\makeInstance(), and HttpUtility\redirect().