Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

SwitchUserIdentity Class Reference

Inheritance diagram for SwitchUserIdentity:
UserIdentity

Public Member Functions

 authenticate ()

Static Public Member Functions

static getPrimaryUser ()

Data Fields

const ERROR_NO_RIGHT_SWITCH_USER = 4
const PRIMARY_USER = 'primaryUser'
const LAST_USER = 'lastUser'
const PACKED_SESSION_KEY = 'primaryUserPackedSession'
const PACKED_COOKIES_KEY = 'primaryUserPackedCookies'

Protected Member Functions

 noRightToSwitchUser ()
 redirectForInvalidSwitchRequest ()
 clearSessionAndCookiesForNormalUserSwitch ()
 clearCookiesForNormalUserSwitch ()
 clearSessionForNormalUserSwitch ()
 packSessionAndCookies ()
 unpackSessionAndCookies ()
 packSession ()
 unpackSession ()
 packCookies ()
 unpackCookies ()
 packIntoSession ($key, array $value)
 resolveValueForPacking (array $value)
 resolveValueForUnpacking ($packedValue)
 unpackFromSession ($key, $unpackToSession=true)
 unpackSessionByValue (array $unpackedValue)
 unpackCookiesByValue (array $unpackedValue)
 isSessionKeyNotForForSwitchingUser ($key)

Static Protected Member Functions

static hasPrimaryUser ()
static setPrimaryUser ($username)
static doesSessionValueExist ($name)
static getEncryptedSessionValue ($name)
static setEncryptedSessionValue ($name, $value)
static unsetPrimaryUser ()

Detailed Description

UserIdentity represents the data needed to identity a user.

Definition at line 40 of file SwitchUserIdentity.php.


Member Function Documentation

authenticate (  ) 

Authenticates a user.

Returns:
boolean whether authentication succeeds.

Reimplemented from UserIdentity.

Definition at line 56 of file SwitchUserIdentity.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Feb 20 07:10:59 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8