|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilCmiXapiAuthToken:Public Member Functions | |
| __construct () | |
| 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 (int $lrs_type_id) | |
| getCmi5Session () | |
| setCmi5Session (string $cmi5_session) | |
| getCmi5SessionData () | |
| setCmi5SessionData (string $cmi5_session_data) | |
| getReturnedForCmi5Session () | |
| setReturnedForCmi5Session (string $returned_for_cmi5_session) | |
| update () | |
| delete () | |
Static Public Member Functions | |
| static | insertToken ($usrId, $refId, $objId, $lrsTypeId, $a_token, $a_time) |
| static | deleteTokenByObjIdAndUsrId (int $objId, int $usrId) |
| static | deleteTokenByObjIdAndRefIdAndUsrId (int $objId, int $refId, int $usrId) |
| static | deleteExpiredTokens () |
| static | selectCurrentTimestamp () |
| static | createToken () |
| static | fillToken (int $usrId, int $refId, int $objId, int $lrsTypeId=0) |
| static | getInstanceByToken (string $token) |
| static | getInstanceByObjIdAndUsrId (int $objId, int $usrId, bool $checkValid=true) |
| static | getInstanceByObjIdAndRefIdAndUsrId (int $objId, int $refId, int $usrId, bool $checkValid=true) |
| static | getCmi5SessionByUsrIdAndObjIdAndRefId (int $usrId, int $objId, ?int $refId=null) |
| static | getWacSalt () |
Data Fields | |
| const | DB_TABLE_NAME = 'cmix_token' |
| const | OPENSSL_ENCRYPTION_METHOD = 'aes128' |
| const | OPENSSL_IV = '1234567890123456' |
Protected Attributes | |
| int | $ref_id |
| int | $obj_id |
| int | $usr_id |
| string | $token |
| string | $valid_until |
| int | $lrs_type_id |
| string | $cmi5_session = null |
| string | $cmi5_session_data |
| string | $returned_for_cmi5_session = null |
| ilDBInterface | $db |
Definition at line 30 of file class.ilCmiXapiAuthToken.php.
| ilCmiXapiAuthToken::__construct | ( | ) |
Definition at line 58 of file class.ilCmiXapiAuthToken.php.
References $DIC.
|
static |
Definition at line 249 of file class.ilCmiXapiAuthToken.php.
Referenced by fillToken().
Here is the caller graph for this function:| ilCmiXapiAuthToken::delete | ( | ) |
Definition at line 217 of file class.ilCmiXapiAuthToken.php.
References $DIC, $query, getObjId(), getRefId(), and getUsrId().
Here is the call graph for this function:
|
static |
Definition at line 229 of file class.ilCmiXapiAuthToken.php.
Referenced by fillToken().
Here is the caller graph for this function:
|
static |
Definition at line 205 of file class.ilCmiXapiAuthToken.php.
|
static |
Definition at line 193 of file class.ilCmiXapiAuthToken.php.
|
static |
Definition at line 254 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(), ilLTIConsumerContentGUI\getStartButtonTxt13(), and ilCmiXapiLaunchGUI\getValidToken().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCmiXapiAuthToken::getCmi5Session | ( | ) |
Definition at line 124 of file class.ilCmiXapiAuthToken.php.
References $cmi5_session.
Referenced by update().
Here is the caller graph for this function:
|
static |
| ilCmiXapiException |
Definition at line 393 of file class.ilCmiXapiAuthToken.php.
References $DIC, $objId, $query, and $refId.
Referenced by ilObjCmiXapi\getSessionId().
Here is the caller graph for this function:| ilCmiXapiAuthToken::getCmi5SessionData | ( | ) |
Definition at line 134 of file class.ilCmiXapiAuthToken.php.
References $cmi5_session_data.
Referenced by update().
Here is the caller graph for this function:
|
static |
| ilCmiXapiException |
Definition at line 358 of file class.ilCmiXapiAuthToken.php.
References $DIC, $objId, $query, and $refId.
Referenced by fillToken().
Here is the caller graph for this function:
|
static |
| ilCmiXapiException |
Definition at line 323 of file class.ilCmiXapiAuthToken.php.
|
static |
| ilCmiXapiException |
Definition at line 291 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 114 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 74 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 64 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 144 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 94 of file class.ilCmiXapiAuthToken.php.
References $token.
Referenced by update().
Here is the caller graph for this function:| ilCmiXapiAuthToken::getUsrId | ( | ) |
Definition at line 84 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 104 of file class.ilCmiXapiAuthToken.php.
References $valid_until.
Referenced by update().
Here is the caller graph for this function:
|
static |
| ilCmiXapiException |
Definition at line 416 of file class.ilCmiXapiAuthToken.php.
Referenced by ilCmiXapiLaunchGUI\buildAuthTokenFetchParam().
Here is the caller graph for this function:
|
static |
Definition at line 174 of file class.ilCmiXapiAuthToken.php.
References $DIC, $objId, and $refId.
Referenced by fillToken().
Here is the caller graph for this function:
|
static |
Definition at line 238 of file class.ilCmiXapiAuthToken.php.
Referenced by fillToken(), ilCmiXapiResult\insert(), and ilCmiXapiResult\update().
Here is the caller graph for this function:| ilCmiXapiAuthToken::setCmi5Session | ( | string | $cmi5_session | ) |
Definition at line 129 of file class.ilCmiXapiAuthToken.php.
References $cmi5_session.
| ilCmiXapiAuthToken::setCmi5SessionData | ( | string | $cmi5_session_data | ) |
Definition at line 139 of file class.ilCmiXapiAuthToken.php.
References $cmi5_session_data.
| ilCmiXapiAuthToken::setLrsTypeId | ( | int | $lrs_type_id | ) |
Definition at line 119 of file class.ilCmiXapiAuthToken.php.
References $lrs_type_id.
| ilCmiXapiAuthToken::setObjId | ( | int | $obj_id | ) |
Definition at line 79 of file class.ilCmiXapiAuthToken.php.
References $obj_id.
| ilCmiXapiAuthToken::setRefId | ( | int | $ref_id | ) |
Definition at line 69 of file class.ilCmiXapiAuthToken.php.
References $ref_id.
| ilCmiXapiAuthToken::setReturnedForCmi5Session | ( | string | $returned_for_cmi5_session | ) |
Definition at line 149 of file class.ilCmiXapiAuthToken.php.
References $returned_for_cmi5_session.
| ilCmiXapiAuthToken::setToken | ( | string | $token | ) |
Definition at line 99 of file class.ilCmiXapiAuthToken.php.
References $token.
| ilCmiXapiAuthToken::setUsrId | ( | int | $usr_id | ) |
Definition at line 89 of file class.ilCmiXapiAuthToken.php.
References $usr_id.
| ilCmiXapiAuthToken::setValidUntil | ( | string | $valid_until | ) |
Definition at line 109 of file class.ilCmiXapiAuthToken.php.
References $valid_until.
| ilCmiXapiAuthToken::update | ( | ) |
Definition at line 154 of file class.ilCmiXapiAuthToken.php.
References getCmi5Session(), getCmi5SessionData(), getLrsTypeId(), getObjId(), getRefId(), getReturnedForCmi5Session(), getToken(), getUsrId(), and getValidUntil().
Here is the call graph for this function:
|
protected |
Definition at line 50 of file class.ilCmiXapiAuthToken.php.
Referenced by getCmi5Session(), and setCmi5Session().
|
protected |
Definition at line 52 of file class.ilCmiXapiAuthToken.php.
Referenced by getCmi5SessionData(), and setCmi5SessionData().
|
protected |
Definition at line 56 of file class.ilCmiXapiAuthToken.php.
|
protected |
Definition at line 48 of file class.ilCmiXapiAuthToken.php.
Referenced by getLrsTypeId(), and setLrsTypeId().
|
protected |
Definition at line 40 of file class.ilCmiXapiAuthToken.php.
Referenced by getObjId(), and setObjId().
|
protected |
Definition at line 38 of file class.ilCmiXapiAuthToken.php.
Referenced by getRefId(), and setRefId().
|
protected |
Definition at line 54 of file class.ilCmiXapiAuthToken.php.
Referenced by getReturnedForCmi5Session(), and setReturnedForCmi5Session().
|
protected |
Definition at line 44 of file class.ilCmiXapiAuthToken.php.
Referenced by fillToken(), getInstanceByToken(), getToken(), and setToken().
|
protected |
Definition at line 42 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 32 of file class.ilCmiXapiAuthToken.php.
| const ilCmiXapiAuthToken::OPENSSL_ENCRYPTION_METHOD = 'aes128' |
Definition at line 34 of file class.ilCmiXapiAuthToken.php.
Referenced by ilCmiXapiLaunchGUI\buildAuthTokenFetchParam().
| const ilCmiXapiAuthToken::OPENSSL_IV = '1234567890123456' |
Definition at line 36 of file class.ilCmiXapiAuthToken.php.
Referenced by ilCmiXapiLaunchGUI\buildAuthTokenFetchParam().