|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilWACToken. More...
Collaboration diagram for ilWACToken:Public Member Functions | |
| __construct ($path, $client, $timestamp=null, $ttl=null) | |
| ilWACToken constructor. More... | |
| generateToken () | |
| getSessionId () | |
| setSessionId ($session_id) | |
| getTimestamp () | |
| setTimestamp ($timestamp) | |
| getIp () | |
| setIp ($ip) | |
| getToken () | |
| setToken ($token) | |
| getPath () | |
| setPath ($path) | |
| getId () | |
| setId ($id) | |
| getClient () | |
| setClient ($client) | |
| getTTL () | |
| setTTL ($ttl) | |
Static Public Member Functions | |
| static | getSALT () |
| static | setSALT ($SALT) |
Data Fields | |
| const | DEBUG = false |
| const | TYPE_FILE = ilWACSignedPath::TYPE_FILE |
| const | TYPE_FOLDER = ilWACSignedPath::TYPE_FOLDER |
Protected Member Functions | |
| getSaltFilePath () | |
| initSalt () | |
| generateSaltFile () | |
Static Protected Member Functions | |
| static | isDEBUG () |
Protected Attributes | |
| $session_id = '' | |
| $timestamp = 0 | |
| $ip = '' | |
| $token = '' | |
| $path = '' | |
| $id = '' | |
| $client = '' | |
| $ttl = 0 | |
Static Protected Attributes | |
| static | $SALT = '' |
| ilWACToken::__construct | ( | $path, | |
| $client, | |||
$timestamp = null, |
|||
$ttl = null |
|||
| ) |
ilWACToken constructor.
| $path | ||
| $client | ||
| null | $timestamp |
Definition at line 60 of file class.ilWACToken.php.
References $_SERVER, $client, $path, $session_id, $timestamp, $ttl, generateToken(), getPath(), ilWACSignedPath\getTokenMaxLifetimeInSeconds(), isDEBUG(), setClient(), setId(), setIp(), setPath(), setSessionId(), setTimestamp(), and setTTL().
Here is the call graph for this function:
|
protected |
Definition at line 118 of file class.ilWACToken.php.
References ilWACException\DATA_DIR_NON_WRITEABLE, getSaltFilePath(), and setSALT().
Referenced by initSalt().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWACToken::generateToken | ( | ) |
Definition at line 85 of file class.ilWACToken.php.
References $token, getClient(), getIp(), getTimestamp(), getTTL(), initSalt(), isDEBUG(), and setToken().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWACToken::getClient | ( | ) |
Definition at line 249 of file class.ilWACToken.php.
References $client.
Referenced by generateToken().
Here is the caller graph for this function:| ilWACToken::getId | ( | ) |
| ilWACToken::getIp | ( | ) |
Definition at line 169 of file class.ilWACToken.php.
References $ip.
Referenced by generateToken().
Here is the caller graph for this function:| ilWACToken::getPath | ( | ) |
Definition at line 201 of file class.ilWACToken.php.
References $path.
Referenced by __construct().
Here is the caller graph for this function:
|
static |
|
protected |
Definition at line 96 of file class.ilWACToken.php.
Referenced by generateSaltFile(), and initSalt().
Here is the caller graph for this function:| ilWACToken::getSessionId | ( | ) |
| ilWACToken::getTimestamp | ( | ) |
Definition at line 153 of file class.ilWACToken.php.
References $timestamp.
Referenced by generateToken().
Here is the caller graph for this function:| ilWACToken::getToken | ( | ) |
| ilWACToken::getTTL | ( | ) |
Definition at line 265 of file class.ilWACToken.php.
References $ttl.
Referenced by generateToken().
Here is the caller graph for this function:
|
protected |
Definition at line 103 of file class.ilWACToken.php.
References generateSaltFile(), getSaltFilePath(), and setSALT().
Referenced by generateToken().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 80 of file class.ilWACToken.php.
References DEBUG, and ilWebAccessChecker\isDEBUG().
Referenced by __construct(), and generateToken().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWACToken::setClient | ( | $client | ) |
| string | $client |
Definition at line 257 of file class.ilWACToken.php.
References $client.
Referenced by __construct().
Here is the caller graph for this function:| ilWACToken::setId | ( | $id | ) |
| string | $id |
Definition at line 225 of file class.ilWACToken.php.
References $id.
Referenced by __construct().
Here is the caller graph for this function:| ilWACToken::setIp | ( | $ip | ) |
| string | $ip |
Definition at line 177 of file class.ilWACToken.php.
References $ip.
Referenced by __construct().
Here is the caller graph for this function:| ilWACToken::setPath | ( | $path | ) |
| string | $path |
Definition at line 209 of file class.ilWACToken.php.
References $path.
Referenced by __construct().
Here is the caller graph for this function:
|
static |
| string | $SALT |
Definition at line 241 of file class.ilWACToken.php.
References $SALT.
Referenced by generateSaltFile(), and initSalt().
Here is the caller graph for this function:| ilWACToken::setSessionId | ( | $session_id | ) |
| string | $session_id |
Definition at line 145 of file class.ilWACToken.php.
References $session_id.
Referenced by __construct().
Here is the caller graph for this function:| ilWACToken::setTimestamp | ( | $timestamp | ) |
| int | $timestamp |
Definition at line 161 of file class.ilWACToken.php.
References $timestamp.
Referenced by __construct().
Here is the caller graph for this function:| ilWACToken::setToken | ( | $token | ) |
| string | $token |
Definition at line 193 of file class.ilWACToken.php.
References $token.
Referenced by generateToken().
Here is the caller graph for this function:| ilWACToken::setTTL | ( | $ttl | ) |
| int | $ttl |
Definition at line 273 of file class.ilWACToken.php.
References $ttl.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 46 of file class.ilWACToken.php.
Referenced by __construct(), getClient(), and setClient().
|
protected |
Definition at line 42 of file class.ilWACToken.php.
|
protected |
Definition at line 30 of file class.ilWACToken.php.
|
protected |
Definition at line 38 of file class.ilWACToken.php.
Referenced by __construct(), getPath(), and setPath().
|
staticprotected |
Definition at line 18 of file class.ilWACToken.php.
|
protected |
Definition at line 22 of file class.ilWACToken.php.
Referenced by __construct(), getSessionId(), and setSessionId().
|
protected |
Definition at line 26 of file class.ilWACToken.php.
Referenced by __construct(), getTimestamp(), and setTimestamp().
|
protected |
Definition at line 34 of file class.ilWACToken.php.
Referenced by generateToken(), getToken(), and setToken().
|
protected |
Definition at line 50 of file class.ilWACToken.php.
Referenced by __construct(), getTTL(), and setTTL().
| const ilWACToken::DEBUG = false |
Definition at line 12 of file class.ilWACToken.php.
| const ilWACToken::TYPE_FILE = ilWACSignedPath::TYPE_FILE |
Definition at line 13 of file class.ilWACToken.php.
| const ilWACToken::TYPE_FOLDER = ilWACSignedPath::TYPE_FOLDER |
Definition at line 14 of file class.ilWACToken.php.