ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (ilObjLTIConsumer $object) | |
executeCommand () | |
Static Public Member Functions | |
static | isEmbeddedLaunchRequest () |
Data Fields | |
const | CMD_LAUNCH = 'launch' |
const | CMD_SHOW_EMBEDDED = 'showEmbedded' |
Protected Member Functions | |
launch () | |
getLoginLTI13Form () | |
getStartButtonTxt11 () | |
getStartButtonTxt13 () | |
getEmbeddedAutoStartFormular () | |
showEmbedded () | |
getLaunchParameters () | |
getLaunchParametersLTI13 (string $endpoint, string $clientId, int $deploymentId, string $nonce) | |
initCmixUser () | |
getRequestValue (string $key, $default=null) | |
Protected Attributes | |
ilObjLTIConsumer | $object |
ilCmiXapiUser | $cmixUser |
Private Member Functions | |
validateLTI13InitalLogin (array $loginData) | |
Private Attributes | |
ILIAS DI Container | $dic |
ilLanguage | $lng |
ilObjUser | $user |
Definition at line 30 of file class.ilLTIConsumerContentGUI.php.
ilLTIConsumerContentGUI::__construct | ( | ilObjLTIConsumer | $object | ) |
Definition at line 45 of file class.ilLTIConsumerContentGUI.php.
References $DIC, $object, ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilLTIConsumerContentGUI::executeCommand | ( | ) |
ilLtiConsumerException |
Definition at line 57 of file class.ilLTIConsumerContentGUI.php.
References $DIC, ilLTIConsumeProvider\AVAILABILITY_NONE, and ILIAS\Repository\object().
|
protected |
Definition at line 266 of file class.ilLTIConsumerContentGUI.php.
References $context, $ltiMessageHint, CLIENT_ID, ilObjLTIConsumer\getIliasHttpPath(), initCmixUser(), ILIAS\Repository\object(), and ilSession\set().
Referenced by showEmbedded().
|
protected |
Definition at line 334 of file class.ilLTIConsumerContentGUI.php.
References $token, ilCmiXapiAuthToken\fillToken(), ilLTIConsumerLaunch\getLTIContextType(), and ILIAS\Repository\object().
Referenced by showEmbedded().
|
protected |
Definition at line 358 of file class.ilLTIConsumerContentGUI.php.
References $clientId, $cmixUser, $token, ilCmiXapiAuthToken\fillToken(), ilLTIConsumerLaunch\getLTIContextType(), and ILIAS\Repository\object().
Referenced by getLoginLTI13Form().
|
protected |
Definition at line 113 of file class.ilLTIConsumerContentGUI.php.
References $params, ilSession\clear(), ilSession\get(), getLaunchParametersLTI13(), initCmixUser(), ILIAS\Repository\object(), and validateLTI13InitalLogin().
Referenced by launch().
|
protected |
string | $key | |
mixed | $default |
Definition at line 510 of file class.ilLTIConsumerContentGUI.php.
References $DIC.
|
protected |
Definition at line 147 of file class.ilLTIConsumerContentGUI.php.
References $cmixUser, $context, $token, ilLTIConsumeProvider\AVAILABILITY_NONE, ilCmiXapiAuthToken\fillToken(), ilCmiXapiUser\getIdent(), ilObjLTIConsumer\getIliasHttpPath(), ilCmiXapiUser\getUsrIdent(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilCmiXapiUser\save(), and ilCmiXapiUser\setUsrIdent().
Referenced by launch().
|
protected |
Definition at line 211 of file class.ilLTIConsumerContentGUI.php.
References $context, $ltiMessageHint, $token, ilLTIConsumeProvider\AVAILABILITY_NONE, CLIENT_ID, ilCmiXapiAuthToken\fillToken(), ilObjLTIConsumer\getIliasHttpPath(), initCmixUser(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilSession\set().
Referenced by launch().
|
protected |
Definition at line 402 of file class.ilLTIConsumerContentGUI.php.
References ilCmiXapiUser\getIdent(), and ILIAS\Repository\object().
Referenced by getEmbeddedAutoStartFormular(), getLoginLTI13Form(), getStartButtonTxt13(), and showEmbedded().
|
static |
Definition at line 387 of file class.ilLTIConsumerContentGUI.php.
References $DIC.
|
protected |
ilCtrlException | |
ilTemplateException |
Definition at line 72 of file class.ilLTIConsumerContentGUI.php.
References $response, ilSession\get(), getLoginLTI13Form(), getStartButtonTxt11(), getStartButtonTxt13(), and ILIAS\Repository\object().
|
protected |
ilTemplateException |
Definition at line 302 of file class.ilLTIConsumerContentGUI.php.
References $response, exit, getEmbeddedAutoStartFormular(), ilUtil\getImagePath(), getLaunchParameters(), ILIAS_VERSION_NUMERIC, initCmixUser(), and ILIAS\Repository\object().
|
private |
Definition at line 413 of file class.ilLTIConsumerContentGUI.php.
References $cmixUser, $ref_id, $scope, ilSession\get(), ilCmiXapiUser\getIdent(), ilCmiXapiUser\getUsrIdent(), ILIAS\Repository\object(), ilCmiXapiUser\save(), and ilCmiXapiUser\setUsrIdent().
Referenced by getLoginLTI13Form().
|
protected |
Definition at line 37 of file class.ilLTIConsumerContentGUI.php.
Referenced by getLaunchParametersLTI13(), getStartButtonTxt11(), and validateLTI13InitalLogin().
|
private |
Definition at line 39 of file class.ilLTIConsumerContentGUI.php.
|
private |
Definition at line 41 of file class.ilLTIConsumerContentGUI.php.
|
protected |
Definition at line 35 of file class.ilLTIConsumerContentGUI.php.
Referenced by __construct().
|
private |
Definition at line 43 of file class.ilLTIConsumerContentGUI.php.
const ilLTIConsumerContentGUI::CMD_LAUNCH = 'launch' |
Definition at line 32 of file class.ilLTIConsumerContentGUI.php.
const ilLTIConsumerContentGUI::CMD_SHOW_EMBEDDED = 'showEmbedded' |
Definition at line 33 of file class.ilLTIConsumerContentGUI.php.