|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilCmiXapiAuthToken:Public Member Functions | |
| getRefId () | |
| setRefId (int $ref_id) | |
| getObjId () | |
| setObjId (int $obj_id) | |
| getUsrId () | |
| setUsrId (int $usr_id) | |
| getToken () | |
| setToken (string $token) | |
| getValidUntil () | |
| setValidUntil (string $valid_until) | |
| getLrsTypeId () | |
| setLrsTypeId ($lrs_type_id) | |
| getCmi5Session () | |
| setCmi5Session ($cmi5_session) | |
| getCmi5SessionData () | |
| setCmi5SessionData ($cmi5_session_data) | |
| getReturnedForCmi5Session () | |
| setReturnedForCmi5Session ($returned_for_cmi5_session) | |
| update () | |
| delete () | |
Static Public Member Functions | |
| static | insertToken ($usrId, $refId, $objId, $lrsTypeId, $a_token, $a_time) |
| static | deleteTokenByObjIdAndUsrId ($objId, $usrId) |
| static | deleteTokenByObjIdAndRefIdAndUsrId ($objId, $refId, $usrId) |
| static | deleteExpiredTokens () |
| static | selectCurrentTimestamp () |
| static | createToken () |
| static | fillToken ($usrId, $refId, $objId, $lrsTypeId=0) |
| static | getInstanceByToken ($token) |
| static | getInstanceByObjIdAndUsrId ($objId, $usrId, $checkValid=true) |
| static | getInstanceByObjIdAndRefIdAndUsrId ($objId, $refId, $usrId, $checkValid=true) |
| static | getCmi5SessionByUsrIdAndObjIdAndRefId (int $usrId, int $objId, $refId=null) |
| static | getWacSalt () |
Data Fields | |
| const | DB_TABLE_NAME = 'cmix_token' |
| const | OPENSSL_ENCRYPTION_METHOD = 'aes128' |
| const | OPENSSL_IV = '1234567890123456' |
Protected Attributes | |
| $ref_id | |
| $obj_id | |
| $usr_id | |
| $token | |
| $valid_until | |
| $lrs_type_id | |
| $cmi5_session | |
| $cmi5_session_data | |
| $returned_for_cmi5_session | |
Definition at line 15 of file class.ilCmiXapiAuthToken.php.
|
static |
Definition at line 314 of file class.ilCmiXapiAuthToken.php.
Referenced by fillToken().
Here is the caller graph for this function:| ilCmiXapiAuthToken::delete | ( | ) |
Definition at line 279 of file class.ilCmiXapiAuthToken.php.
References $DIC, $ilDB, $query, getObjId(), getRefId(), and getUsrId().
Here is the call graph for this function:
|
static |
Definition at line 292 of file class.ilCmiXapiAuthToken.php.
References $DIC, $ilDB, and $query.
Referenced by fillToken().
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 253 of file class.ilCmiXapiAuthToken.php.
|
static |
Definition at line 319 of file class.ilCmiXapiAuthToken.php.
References Vendor\Package\$e, $objId, $refId, $token, createToken(), deleteExpiredTokens(), getInstanceByObjIdAndRefIdAndUsrId(), IL_CAL_DATETIME, IL_CAL_UNIX, insertToken(), and selectCurrentTimestamp().
Referenced by ilLTIConsumerContentGUI\getLaunchParameters(), ilLTIConsumerContentGUI\getStartButtonTxt11(), and ilCmiXapiLaunchGUI\getValidToken().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCmiXapiAuthToken::getCmi5Session | ( | ) |
Definition at line 167 of file class.ilCmiXapiAuthToken.php.
References $cmi5_session.
Referenced by update().
Here is the caller graph for this function:
|
static |
| int | $usrId | |
| int | $objId | |
| int | $refId |
| ilCmiXapiException |
Definition at line 483 of file class.ilCmiXapiAuthToken.php.
References $DIC, $ilDB, $objId, $query, $refId, and $result.
Referenced by ilObjCmiXapi\getSessionId().
Here is the caller graph for this function:| ilCmiXapiAuthToken::getCmi5SessionData | ( | ) |
Definition at line 183 of file class.ilCmiXapiAuthToken.php.
References $cmi5_session_data.
Referenced by update().
Here is the caller graph for this function:
|
static |
| int | $objId | |
| int | $refId | |
| int | $usrId |
| ilCmiXapiException |
Definition at line 433 of file class.ilCmiXapiAuthToken.php.
References $DIC, $ilDB, $objId, $query, $refId, and $result.
Referenced by fillToken().
Here is the caller graph for this function:
|
static |
| int | $objId | |
| int | $usrId |
| ilCmiXapiException |
Definition at line 393 of file class.ilCmiXapiAuthToken.php.
|
static |
| $token |
| ilCmiXapiException |
Definition at line 358 of file class.ilCmiXapiAuthToken.php.
References $DIC, $query, $res, and $token.
Referenced by ilCmiXapiLaunchGUI\CMI5preLaunch(), XapiProxy\XapiProxyRequest\handleGetStatementsRequest(), ilLTIConsumerResultService\handleRequest(), and XapiProxy\XapiProxyPolyFill\initLrs().
Here is the caller graph for this function:| ilCmiXapiAuthToken::getLrsTypeId | ( | ) |
Definition at line 151 of file class.ilCmiXapiAuthToken.php.
References $lrs_type_id.
Referenced by update().
Here is the caller graph for this function:| ilCmiXapiAuthToken::getObjId | ( | ) |
Definition at line 87 of file class.ilCmiXapiAuthToken.php.
References $obj_id.
Referenced by delete(), ilCmiXapiUser\getCMI5RegistrationFromAuthToken(), and update().
Here is the caller graph for this function:| ilCmiXapiAuthToken::getRefId | ( | ) |
Definition at line 71 of file class.ilCmiXapiAuthToken.php.
References $ref_id.
Referenced by delete(), ilCmiXapiUser\getRegistrationFromAuthToken(), and update().
Here is the caller graph for this function:| ilCmiXapiAuthToken::getReturnedForCmi5Session | ( | ) |
Definition at line 199 of file class.ilCmiXapiAuthToken.php.
References $returned_for_cmi5_session.
Referenced by update().
Here is the caller graph for this function:| ilCmiXapiAuthToken::getToken | ( | ) |
Definition at line 119 of file class.ilCmiXapiAuthToken.php.
References $token.
Referenced by update().
Here is the caller graph for this function:| ilCmiXapiAuthToken::getUsrId | ( | ) |
Definition at line 103 of file class.ilCmiXapiAuthToken.php.
References $usr_id.
Referenced by delete(), ilCmiXapiUser\getCMI5RegistrationFromAuthToken(), ilCmiXapiUser\getRegistrationFromAuthToken(), and update().
Here is the caller graph for this function:| ilCmiXapiAuthToken::getValidUntil | ( | ) |
Definition at line 135 of file class.ilCmiXapiAuthToken.php.
References $valid_until.
Referenced by update().
Here is the caller graph for this function:
|
static |
| ilCmiXapiException |
Definition at line 507 of file class.ilCmiXapiAuthToken.php.
Referenced by ilCmiXapiLaunchGUI\buildAuthTokenFetchParam().
Here is the caller graph for this function:
|
static |
Definition at line 233 of file class.ilCmiXapiAuthToken.php.
References $DIC, $ilDB, $objId, and $refId.
Referenced by fillToken().
Here is the caller graph for this function:
|
static |
Definition at line 302 of file class.ilCmiXapiAuthToken.php.
References $DIC, $ilDB, $query, and $result.
Referenced by fillToken(), ilCmiXapiResult\insert(), and ilCmiXapiResult\update().
Here is the caller graph for this function:| ilCmiXapiAuthToken::setCmi5Session | ( | $cmi5_session | ) |
| string | $cmi5_session |
Definition at line 175 of file class.ilCmiXapiAuthToken.php.
References $cmi5_session.
| ilCmiXapiAuthToken::setCmi5SessionData | ( | $cmi5_session_data | ) |
| string | $cmi5_session_data |
Definition at line 191 of file class.ilCmiXapiAuthToken.php.
References $cmi5_session_data.
| ilCmiXapiAuthToken::setLrsTypeId | ( | $lrs_type_id | ) |
| mixed | $lrs_type_id |
Definition at line 159 of file class.ilCmiXapiAuthToken.php.
References $lrs_type_id.
| ilCmiXapiAuthToken::setObjId | ( | int | $obj_id | ) |
| int | $obj_id |
Definition at line 95 of file class.ilCmiXapiAuthToken.php.
References $obj_id.
| ilCmiXapiAuthToken::setRefId | ( | int | $ref_id | ) |
| int | $ref_id |
Definition at line 79 of file class.ilCmiXapiAuthToken.php.
References $ref_id.
| ilCmiXapiAuthToken::setReturnedForCmi5Session | ( | $returned_for_cmi5_session | ) |
| string | $returned_for_cmi5_session |
Definition at line 207 of file class.ilCmiXapiAuthToken.php.
References $returned_for_cmi5_session.
| ilCmiXapiAuthToken::setToken | ( | string | $token | ) |
| string | $token |
Definition at line 127 of file class.ilCmiXapiAuthToken.php.
References $token.
| ilCmiXapiAuthToken::setUsrId | ( | int | $usr_id | ) |
| int | $usr_id |
Definition at line 111 of file class.ilCmiXapiAuthToken.php.
References $usr_id.
| ilCmiXapiAuthToken::setValidUntil | ( | string | $valid_until | ) |
| string | $valid_until |
Definition at line 143 of file class.ilCmiXapiAuthToken.php.
References $valid_until.
| ilCmiXapiAuthToken::update | ( | ) |
Definition at line 212 of file class.ilCmiXapiAuthToken.php.
References $DIC, getCmi5Session(), getCmi5SessionData(), getLrsTypeId(), getObjId(), getRefId(), getReturnedForCmi5Session(), getToken(), getUsrId(), and getValidUntil().
Here is the call graph for this function:
|
protected |
Definition at line 56 of file class.ilCmiXapiAuthToken.php.
Referenced by getCmi5Session(), and setCmi5Session().
|
protected |
Definition at line 61 of file class.ilCmiXapiAuthToken.php.
Referenced by getCmi5SessionData(), and setCmi5SessionData().
|
protected |
Definition at line 51 of file class.ilCmiXapiAuthToken.php.
Referenced by getLrsTypeId(), and setLrsTypeId().
|
protected |
Definition at line 31 of file class.ilCmiXapiAuthToken.php.
Referenced by getObjId(), and setObjId().
|
protected |
Definition at line 26 of file class.ilCmiXapiAuthToken.php.
Referenced by getRefId(), and setRefId().
|
protected |
Definition at line 66 of file class.ilCmiXapiAuthToken.php.
Referenced by getReturnedForCmi5Session(), and setReturnedForCmi5Session().
|
protected |
Definition at line 41 of file class.ilCmiXapiAuthToken.php.
Referenced by fillToken(), getInstanceByToken(), getToken(), and setToken().
|
protected |
Definition at line 36 of file class.ilCmiXapiAuthToken.php.
Referenced by getUsrId(), and setUsrId().
|
protected |
Definition at line 46 of file class.ilCmiXapiAuthToken.php.
Referenced by getValidUntil(), and setValidUntil().
| const ilCmiXapiAuthToken::DB_TABLE_NAME = 'cmix_token' |
Definition at line 17 of file class.ilCmiXapiAuthToken.php.
| const ilCmiXapiAuthToken::OPENSSL_ENCRYPTION_METHOD = 'aes128' |
Definition at line 19 of file class.ilCmiXapiAuthToken.php.
Referenced by ilCmiXapiLaunchGUI\buildAuthTokenFetchParam().
| const ilCmiXapiAuthToken::OPENSSL_IV = '1234567890123456' |
Definition at line 21 of file class.ilCmiXapiAuthToken.php.
Referenced by ilCmiXapiLaunchGUI\buildAuthTokenFetchParam().