| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Class to represent an LTI Tool. More...
 Inheritance diagram for ILIAS\LTI\ToolProvider\Tool:
 Collaboration diagram for ILIAS\LTI\ToolProvider\Tool:Public Member Functions | |
| __construct (DataConnector $dataConnector=null) | |
| Class constructor.  More... | |
| initialize () | |
| Initialise the tool.  More... | |
| save () | |
| Save the tool to the database.  More... | |
| delete () | |
| Delete the tool from the database.  More... | |
| getMessageParameters () | |
| Get the message parameters.  More... | |
| handleRequest (bool $strictMode=false) | |
| Process an incoming request.  More... | |
| setParameterConstraint (string $name, bool $required=true, int $maxLength=null, array $messageTypes=null) | |
| Add a parameter constraint to be checked on launch.  More... | |
| getPlatforms () | |
| Get an array of defined tool consumers.  More... | |
| findService (string $format, array $methods) | |
| Find an offered service based on a media type and HTTP action(s)  More... | |
Static Public Member Functions | |
| static | fromConsumerKey (string $key=null, DataConnector $dataConnector=null, bool $autoEnable=false) | 
| Load the tool from the database by its consumer key.  More... | |
| static | fromInitiateLoginUrl (string $initiateLoginUrl, DataConnector $dataConnector=null, bool $autoEnable=false) | 
| Load the tool from the database by its initiate login URL.  More... | |
| static | fromRecordId (string $id, DataConnector $dataConnector) | 
| Load the tool from the database by its record ID.  More... | |
Data Fields | |
| const | CONNECTION_ERROR_MESSAGE = 'Sorry, there was an error connecting you to the application.' | 
| Default connection error message.  More... | |
| const | ID_SCOPE_ID_ONLY = 0 | 
| Use ID value only.  More... | |
| const | ID_SCOPE_GLOBAL = 1 | 
| Prefix an ID with the consumer key.  More... | |
| const | ID_SCOPE_CONTEXT = 2 | 
| Prefix the ID with the consumer key and context ID.  More... | |
| const | ID_SCOPE_RESOURCE = 3 | 
| Prefix the ID with the consumer key and resource ID.  More... | |
| const | ID_SCOPE_SEPARATOR = ':' | 
| Character used to separate each element of an ID.  More... | |
| ilLTIPlatform | $platform | 
| Platform object.  More... | |
| string | $returnUrl = null | 
| Return URL provided by platform.  More... | |
| UserResult | $userResult = null | 
| UserResult object.  More... | |
| ResourceLink | $resourceLink = null | 
| Resource link object.  More... | |
| Context | $context = null | 
| Context object.  More... | |
| string | $defaultEmail = '' | 
| Default email domain.  More... | |
| int | $idScope = self::ID_SCOPE_ID_ONLY | 
| Scope to use for user IDs.  More... | |
| bool | $allowSharing = false | 
| Whether shared resource link arrangements are permitted.  More... | |
| string | $message = null | 
| Message for last request processed.  More... | |
| string | $baseUrl = null | 
| Base URL for tool service.  More... | |
| Item | $vendor = null | 
| Vendor details.  More... | |
| Item | $product = null | 
| Product details.  More... | |
| array | $requiredServices = null | 
| Services required by Tool.  More... | |
| array | $optionalServices = null | 
| Optional services used by Tool.  More... | |
| array | $resourceHandlers = null | 
| Resource handlers for Tool.  More... | |
| string | $messageUrl = null | 
| Message URL for Tool.  More... | |
| string | $initiateLoginUrl = null | 
| Initiate Login request URL for Tool.  More... | |
| array | $redirectionUris = null | 
| Redirection URIs for Tool.  More... | |
Static Public Attributes | |
| static array | $MESSAGE_TYPES | 
| List of supported incoming message types.  More... | |
| static Tool | $defaultTool = null | 
| Default tool for use with service requests.  More... | |
| static bool | $authenticateUsingGet = false | 
| Use GET method for authentication request messages when true.  More... | |
Protected Member Functions | |
| onLaunch () | |
| Send the tool proxy to the platform.  More... | |
| onConfigure () | |
| Process a valid configure request.  More... | |
| onDashboard () | |
| Process a valid dashboard request.  More... | |
| onContentItem () | |
| Process a valid content-item request.  More... | |
| onContentItemUpdate () | |
| Process a valid content-item update request.  More... | |
| onRegister () | |
| Process a valid tool proxy registration request.  More... | |
| onRegistration () | |
| Process a dynamic registration request.  More... | |
| onLtiStartProctoring () | |
| Process a valid start proctoring request.  More... | |
| onLtiEndAssessment () | |
| Process a valid end assessment request.  More... | |
| onInitiateLogin (array $requestParameters, array &$authParameters) | |
| Process a login initiation request.  More... | |
| onError () | |
| Process a response to an invalid request.  More... | |
| getPlatformConfiguration () | |
| Fetch a platform's configuration data.  More... | |
| getConfiguration (array $platformConfig) | |
| Prepare the tool's configuration data.  More... | |
| sendRegistration (array $platformConfig, array $toolConfig) | |
| Send the tool registration to the platform.  More... | |
| getPlatformToRegister (array $platformConfig, array $registrationConfig, bool $doSave=true) | |
| Initialise the platform to be registered.  More... | |
| getRegistrationResponsePage (array $toolConfig) | |
| Prepare the page to complete a registration request.  More... | |
Protected Attributes | |
| string | $redirectUrl = null | 
| URL to redirect user to on successful completion of the request.  More... | |
| array | $mediaTypes = null | 
| Media types accepted by the platform.  More... | |
| array | $contentTypes = null | 
| Content item types accepted by the platform.  More... | |
| array | $fileTypes = null | 
| File types accepted by the platform.  More... | |
| array | $documentTargets = null | 
| Document targets accepted by the platform.  More... | |
| string | $output = null | 
| Default HTML to be displayed on a successful completion of the request.  More... | |
| string | $errorOutput = null | 
| HTML to be displayed on an unsuccessful completion of the request and no return URL is available.  More... | |
Private Member Functions | |
| result () | |
| Perform the result of an action.  More... | |
| authenticate (bool $strictMode) | |
| Check the authenticity of the LTI message.  More... | |
| checkForShare () | |
| Check if a share arrangement is in place.  More... | |
| sendAuthenticationRequest (array $parameters) | |
| Generate a form to perform an authentication request.  More... | |
| sendRelaunchRequest () | |
| Generate a form to perform a relaunch request.  More... | |
| checkValue (&$value, array $values, string $reason, bool $strictMode, bool $ignoreInvalid=false) | |
| Validate a parameter value from an array of permitted values.  More... | |
Private Attributes | |
| array | $constraints = null | 
| LTI parameter constraints for auto validation checks.  More... | |
Static Private Attributes | |
| static array | $LTI_CONSUMER_SETTING_NAMES = array('custom_tc_profile_url', 'custom_system_setting_url', 'custom_oauth2_access_token_url') | 
| Names of LTI parameters to be retained in the consumer settings property.  More... | |
| static array | $LTI_CONTEXT_SETTING_NAMES | 
| Names of LTI parameters to be retained in the context settings property.  More... | |
| static array | $LTI_RESOURCE_LINK_SETTING_NAMES | 
| Names of LTI parameters to be retained in the resource link settings property.  More... | |
| static array | $LTI_RETAIN_SETTING_NAMES = array('custom_lineitem_url') | 
| Names of LTI parameters to be retained even when not passed.  More... | |
| static array | $CUSTOM_SUBSTITUTION_VARIABLES | 
| Names of LTI custom parameter substitution variables (or capabilities) and their associated default message parameter names.  More... | |
Class to represent an LTI Tool.
| ILIAS\LTI\ToolProvider\Tool::__construct | ( | DataConnector | $dataConnector = null | ) | 
Class constructor.
| DataConnector | null | $dataConnector | Object containing a database connection object | 
Definition at line 368 of file Tool.php.
References ILIAS\LTI\ToolProvider\$dataConnector, ILIAS\LTI\ToolProvider\DataConnector\DataConnector\getDataConnector(), and ILIAS\LTI\ToolProvider\Tool\initialize().
 Here is the call graph for this function:
      
  | 
  private | 
Check the authenticity of the LTI message.
The platform, resource link and user objects will be initialised if the request is valid.
| bool | $strictMode | True if full compliance with the LTI specification is required | 
Definition at line 1219 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\$contentTypes, ILIAS\LTI\ToolProvider\ApiHook\$CONTEXT_ID_HOOK, ILIAS\LTI\ToolProvider\Tool\$defaultEmail, ILIAS\LTI\ToolProvider\Tool\$documentTargets, ILIAS\LTI\ToolProvider\Tool\$fileTypes, $http, ILIAS\LTI\ToolProvider\Tool\$mediaTypes, $service, $url, $version, ILIAS\LTI\ToolProvider\Tool\checkForShare(), ILIAS\LTI\ToolProvider\checkMessage(), ILIAS\LTI\ToolProvider\Tool\checkValue(), ILIAS\LTI\ToolProvider\Tool\findService(), ILIAS\LTI\ToolProvider\Platform\fromConsumerKey(), ILIAS\LTI\ToolProvider\ResourceLink\fromContext(), ILIAS\LTI\ToolProvider\Context\fromPlatform(), ILIAS\LTI\ToolProvider\ResourceLink\fromPlatform(), ILIAS\LTI\ToolProvider\UserResult\fromResourceLink(), ILIAS\LTI\ToolProvider\ApiHook\getApiHook(), ILIAS\LTI\ToolProvider\ApiHook\hasConfiguredApiHook(), ILIAS\LTI\ToolProvider\Content\Item\LTI_ASSIGNMENT_MEDIA_TYPE, ILIAS\LTI\ToolProvider\Content\Item\LTI_LINK_MEDIA_TYPE, ILIAS\LTI\ToolProvider\Util\LTI_VERSION1P3, ILIAS\LTI\ToolProvider\Util\LTI_VERSION2, ILIAS\LTI\ToolProvider\parseRoles(), ILIAS\LTI\ToolProvider\Tool\sendRelaunchRequest(), ILIAS\LTI\ToolProvider\Content\Item\TYPE_FILE, ILIAS\LTI\ToolProvider\Content\Item\TYPE_HTML, ILIAS\LTI\ToolProvider\Content\Item\TYPE_IMAGE, ILIAS\LTI\ToolProvider\Content\Item\TYPE_LINK, ILIAS\LTI\ToolProvider\Content\Item\TYPE_LTI_ASSIGNMENT, ILIAS\LTI\ToolProvider\Content\Item\TYPE_LTI_LINK, and ILIAS\LTI\ToolProvider\verifySignature().
Referenced by ILIAS\LTI\ToolProvider\Tool\handleRequest().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Check if a share arrangement is in place.
Definition at line 1936 of file Tool.php.
References ILIAS\LTI\ToolProvider\$id, ILIAS\LTI\ToolProvider\Tool\$resourceLink, and ILIAS\LTI\ToolProvider\ResourceLink\fromRecordId().
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Validate a parameter value from an array of permitted values.
| mixed | $value | Value to be checked | 
| array | $values | Array of permitted values | 
| string | $reason | Reason to generate when the value is not permitted | 
| bool | $strictMode | True if full compliance with the LTI specification is required | 
| bool | $ignoreInvalid | True if invalid values are to be ignored (optional default is false) | 
Definition at line 2132 of file Tool.php.
References ILIAS\LTI\ToolProvider\Util\logInfo().
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\LTI\ToolProvider\Tool::delete | ( | ) | 
| ILIAS\LTI\ToolProvider\Tool::findService | ( | string | $format, | 
| array | $methods | ||
| ) | 
Find an offered service based on a media type and HTTP action(s)
| string | $format | Media type required | 
| array | $methods | Array of HTTP actions required | 
Definition at line 562 of file Tool.php.
References $service.
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate().
 Here is the caller graph for this function:
      
  | 
  static | 
Load the tool from the database by its consumer key.
| string | null | $key | Consumer key | 
| DataConnector | null | $dataConnector | A data connector object | 
| bool | $autoEnable | true if the tool is to be enabled automatically (optional, default is false) | 
Definition at line 1089 of file Tool.php.
References ILIAS\LTI\ToolProvider\$dataConnector, and ILIAS\LTI\ToolProvider\$key.
      
  | 
  static | 
Load the tool from the database by its initiate login URL.
| string | $initiateLoginUrl | The initiate login URL | 
| DataConnector | null | $dataConnector | A data connector object | 
| bool | $autoEnable | True if the tool is to be enabled automatically (optional, default is false) | 
Definition at line 1110 of file Tool.php.
References ILIAS\LTI\ToolProvider\$dataConnector, and ILIAS\LTI\ToolProvider\Tool\$initiateLoginUrl.
      
  | 
  static | 
Load the tool from the database by its record ID.
| string | $id | The tool record ID | 
| DataConnector | $dataConnector | A data connector object | 
Definition at line 1129 of file Tool.php.
References ILIAS\LTI\ToolProvider\$dataConnector, and ILIAS\LTI\ToolProvider\DataConnector\DataConnector\loadTool().
 Here is the call graph for this function:
      
  | 
  protected | 
Prepare the tool's configuration data.
| array | $platformConfig | Platform configuration data | 
Definition at line 804 of file Tool.php.
References $claims, ILIAS\LTI\ToolProvider\$jku, $messages, and ILIAS\LTI\ToolProvider\Util\MESSAGE_TYPE_MAPPING.
Referenced by ILIAS\LTI\ToolProvider\Tool\onRegistration().
 Here is the caller graph for this function:| ILIAS\LTI\ToolProvider\Tool::getMessageParameters | ( | ) | 
Get the message parameters.
Definition at line 436 of file Tool.php.
References ILIAS\LTI\ToolProvider\Util\$logLevel, ILIAS\LTI\ToolProvider\$messageParameters, ILIAS\LTI\ToolProvider\Util\LOGLEVEL_DEBUG, and ILIAS\LTI\ToolProvider\parseMessage().
Referenced by ILIAS\LTI\ToolProvider\Tool\handleRequest().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Fetch a platform's configuration data.
Definition at line 747 of file Tool.php.
References $http, ILIAS\LTI\ToolProvider\Jwt\Jwt\getJwtClient(), ILIAS\LTI\ToolProvider\Util\getRequestParameters(), and ILIAS\LTI\ToolProvider\Jwt\Jwt\setJwtClient().
Referenced by ILIAS\LTI\ToolProvider\Tool\onRegistration().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\LTI\ToolProvider\Tool::getPlatforms | ( | ) | 
Get an array of defined tool consumers.
      
  | 
  protected | 
Initialise the platform to be registered.
| array | $platformConfig | Platform configuration data | 
| array | $registrationConfig | Registration data | 
| bool | $doSave | True if the platform should be saved (optional, default is true) | 
Definition at line 946 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\$platform, and ILIAS\LTI\ToolProvider\Util\LTI_VERSION1P3.
Referenced by ILIAS\LTI\ToolProvider\Tool\onRegistration().
 Here is the caller graph for this function:
      
  | 
  protected | 
Prepare the page to complete a registration request.
| array | $toolConfig | Tool configuration data | 
Definition at line 981 of file Tool.php.
References ILIAS\LTI\ToolProvider\$enabled, ILIAS\UI\examples\Symbol\Glyph\Bold\bold(), ILIAS\Repository\button(), ILIAS\Repository\html(), ILIAS\FileDelivery\http(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().
Referenced by ILIAS\LTI\ToolProvider\Tool\onRegistration().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\LTI\ToolProvider\Tool::handleRequest | ( | bool | $strictMode = false | ) | 
Process an incoming request.
| bool | $strictMode | True if full compliance with the LTI specification is required (optional, default is false) | 
Definition at line 466 of file Tool.php.
References $_SERVER, ILIAS\LTI\ToolProvider\Util\$logLevel, ILIAS\LTI\ToolProvider\Tool\authenticate(), ILIAS\LTI\ToolProvider\doCallback(), ILIAS\LTI\ToolProvider\Tool\getMessageParameters(), ILIAS\LTI\ToolProvider\Util\getRequestParameters(), ILIAS\LTI\ToolProvider\Util\logError(), ILIAS\LTI\ToolProvider\Util\LOGLEVEL_DEBUG, ILIAS\LTI\ToolProvider\Util\logRequest(), ILIAS\LTI\ToolProvider\Tool\onRegistration(), ILIAS\LTI\ToolProvider\Tool\result(), and ILIAS\LTI\ToolProvider\Tool\sendAuthenticationRequest().
 Here is the call graph for this function:| ILIAS\LTI\ToolProvider\Tool::initialize | ( | ) | 
Initialise the tool.
Definition at line 381 of file Tool.php.
References ILIAS\Repository\settings().
Referenced by ILIAS\LTI\ToolProvider\Tool\__construct(), and ILIAS\LTI\ToolProvider\DataConnector\DataConnector\deleteTool().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Process a valid configure request.
Definition at line 647 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\onError().
 Here is the call graph for this function:
      
  | 
  protected | 
Process a valid content-item request.
Definition at line 665 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\onError().
 Here is the call graph for this function:
      
  | 
  protected | 
Process a valid content-item update request.
Definition at line 674 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\onError().
 Here is the call graph for this function:
      
  | 
  protected | 
Process a valid dashboard request.
Definition at line 656 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\onError().
 Here is the call graph for this function:
      
  | 
  protected | 
Process a response to an invalid request.
Definition at line 737 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\onConfigure(), ILIAS\LTI\ToolProvider\Tool\onContentItem(), ILIAS\LTI\ToolProvider\Tool\onContentItemUpdate(), ILIAS\LTI\ToolProvider\Tool\onDashboard(), ILIAS\LTI\ToolProvider\Tool\onLaunch(), ILIAS\LTI\ToolProvider\Tool\onLtiEndAssessment(), ILIAS\LTI\ToolProvider\Tool\onLtiStartProctoring(), ILIAS\LTI\ToolProvider\Tool\onRegister(), and ILIAS\LTI\ToolProvider\Tool\result().
 Here is the caller graph for this function:
      
  | 
  protected | 
Process a login initiation request.
| array | $requestParameters | Request parameters | 
| array | $authParameters | Authentication request parameters | 
Definition at line 730 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\sendAuthenticationRequest().
 Here is the caller graph for this function:
      
  | 
  protected | 
Send the tool proxy to the platform.
| string | $url | URL to which the form should be submitted | 
| array | $params | Array of form parameters | 
| string | $target | Name of target (optional) | 
Definition at line 638 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\onError().
 Here is the call graph for this function:
      
  | 
  protected | 
Process a valid end assessment request.
Definition at line 718 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\onError().
 Here is the call graph for this function:
      
  | 
  protected | 
Process a valid start proctoring request.
Definition at line 709 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\onError().
 Here is the call graph for this function:
      
  | 
  protected | 
Process a valid tool proxy registration request.
Definition at line 683 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\onError().
 Here is the call graph for this function:
      
  | 
  protected | 
Process a dynamic registration request.
Definition at line 692 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\getConfiguration(), ILIAS\LTI\ToolProvider\Tool\getPlatformConfiguration(), ILIAS\LTI\ToolProvider\Tool\getPlatformToRegister(), ILIAS\LTI\ToolProvider\Tool\getRegistrationResponsePage(), and ILIAS\LTI\ToolProvider\Tool\sendRegistration().
Referenced by ILIAS\LTI\ToolProvider\Tool\handleRequest().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Perform the result of an action.
This function may redirect the user to another URL rather than returning a value.
returns string Output to be displayed (redirection, or display HTML or message) //UK: erased
Definition at line 1149 of file Tool.php.
References ILIAS\LTI\ToolProvider\Tool\$errorOutput, ILIAS\LTI\ToolProvider\Tool\$message, ILIAS\LTI\ToolProvider\Tool\$output, ILIAS\LTI\ToolProvider\$reason, ILIAS\LTI\ToolProvider\Tool\$returnUrl, exit, ILIAS\UI\examples\Symbol\Glyph\Header\header(), ILIAS\LTI\ToolProvider\Util\LTI_VERSION1, ILIAS\LTI\ToolProvider\Tool\onError(), and ILIAS\LTI\ToolProvider\sendMessage().
Referenced by ILIAS\LTI\ToolProvider\Tool\handleRequest().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\LTI\ToolProvider\Tool::save | ( | ) | 
      
  | 
  private | 
Generate a form to perform an authentication request.
| array | $parameters | Request parameters | 
Definition at line 2015 of file Tool.php.
References $_SERVER, ILIAS\LTI\ToolProvider\Tool\$authenticateUsingGet, $clientId, ILIAS\LTI\ToolProvider\Util\$logLevel, $param, $params, $parts, ilLTIPlatform\fromPlatformId(), ILIAS\LTI\ToolProvider\Util\getRandomString(), ILIAS\LTI\ToolProvider\Util\LOGLEVEL_INFO, ILIAS\LTI\ToolProvider\Util\logRequest(), ILIAS\LTI\ToolProvider\Tool\onInitiateLogin(), ILIAS\LTI\ToolProvider\Util\redirect(), and ILIAS\LTI\ToolProvider\Util\sendForm().
Referenced by ILIAS\LTI\ToolProvider\Tool\handleRequest().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Send the tool registration to the platform.
Definition at line 910 of file Tool.php.
References $http, and ILIAS\LTI\ToolProvider\Util\getRequestParameters().
Referenced by ILIAS\LTI\ToolProvider\Tool\onRegistration().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Generate a form to perform a relaunch request.
Definition at line 2104 of file Tool.php.
References $params, ILIAS\LTI\ToolProvider\Util\getRandomString(), and ILIAS\LTI\ToolProvider\Util\sendForm().
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\LTI\ToolProvider\Tool::setParameterConstraint | ( | string | $name, | 
| bool | $required = true,  | 
        ||
| int | $maxLength = null,  | 
        ||
| array | $messageTypes = null  | 
        ||
| ) | 
Add a parameter constraint to be checked on launch.
| string | $name | Name of parameter to be checked | 
| bool | $required | True if parameter is required (optional, default is true) | 
| int | null | $maxLength | Maximum permitted length of parameter value (optional, default is null) | 
| array | null | $messageTypes | Array of message types to which the constraint applies (optional, default is all) | 
Definition at line 521 of file Tool.php.
Referenced by ilLTITool\__construct().
 Here is the caller graph for this function:| bool ILIAS\LTI\ToolProvider\Tool::$allowSharing = false | 
      
  | 
  static | 
Use GET method for authentication request messages when true.
Definition at line 306 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\sendAuthenticationRequest().
| string null ILIAS\LTI\ToolProvider\Tool::$baseUrl = null | 
      
  | 
  private | 
      
  | 
  protected | 
Content item types accepted by the platform.
Definition at line 327 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate().
| Context null ILIAS\LTI\ToolProvider\Tool::$context = null | 
      
  | 
  staticprivate | 
| string ILIAS\LTI\ToolProvider\Tool::$defaultEmail = '' | 
Default email domain.
Definition at line 208 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate().
      
  | 
  static | 
Default tool for use with service requests.
Definition at line 299 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\addJWTSignature(), ILIAS\LTI\ToolProvider\addOAuth1Signature(), ILIAS\LTI\ToolProvider\ResourceLink\doLTI11Service(), ILIAS\LTI\ToolProvider\ResourceLink\doService(), ILIAS\LTI\ToolProvider\AccessToken\get(), ILIAS\LTI\ToolProvider\Platform\handleAuthenticationRequest(), ILIAS\LTI\ToolProvider\OAuthDataStore\lookup_consumer(), ILIAS\LTI\ToolProvider\Platform\onAuthenticate(), ILIAS\LTI\ToolProvider\signMessage(), and ILIAS\LTI\ToolProvider\verifySignature().
      
  | 
  protected | 
Document targets accepted by the platform.
Definition at line 341 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate().
      
  | 
  protected | 
HTML to be displayed on an unsuccessful completion of the request and no return URL is available.
Definition at line 355 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\result().
      
  | 
  protected | 
File types accepted by the platform.
Definition at line 334 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate().
| int ILIAS\LTI\ToolProvider\Tool::$idScope = self::ID_SCOPE_ID_ONLY | 
| string null ILIAS\LTI\ToolProvider\Tool::$initiateLoginUrl = null | 
Initiate Login request URL for Tool.
Definition at line 285 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\fromInitiateLoginUrl().
      
  | 
  staticprivate | 
      
  | 
  staticprivate | 
Names of LTI parameters to be retained in the context settings property.
      
  | 
  staticprivate | 
Names of LTI parameters to be retained in the resource link settings property.
      
  | 
  staticprivate | 
      
  | 
  protected | 
Media types accepted by the platform.
Definition at line 320 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate().
| string ILIAS\LTI\ToolProvider\Tool::$message = null | 
Message for last request processed.
Definition at line 229 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\result().
      
  | 
  static | 
List of supported incoming message types.
| string null ILIAS\LTI\ToolProvider\Tool::$messageUrl = null | 
| array null ILIAS\LTI\ToolProvider\Tool::$optionalServices = null | 
      
  | 
  protected | 
Default HTML to be displayed on a successful completion of the request.
Definition at line 348 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\result().
| ilLTIPlatform ILIAS\LTI\ToolProvider\Tool::$platform | 
Platform object.
Definition at line 173 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\getPlatformToRegister().
| Item null ILIAS\LTI\ToolProvider\Tool::$product = null | 
| array null ILIAS\LTI\ToolProvider\Tool::$redirectionUris = null | 
      
  | 
  protected | 
| array null ILIAS\LTI\ToolProvider\Tool::$requiredServices = null | 
| array null ILIAS\LTI\ToolProvider\Tool::$resourceHandlers = null | 
| ResourceLink null ILIAS\LTI\ToolProvider\Tool::$resourceLink = null | 
Resource link object.
Definition at line 194 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\checkForShare().
| string null ILIAS\LTI\ToolProvider\Tool::$returnUrl = null | 
Return URL provided by platform.
Definition at line 180 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\result().
| UserResult null ILIAS\LTI\ToolProvider\Tool::$userResult = null | 
UserResult object.
| Item null ILIAS\LTI\ToolProvider\Tool::$vendor = null | 
| const ILIAS\LTI\ToolProvider\Tool::CONNECTION_ERROR_MESSAGE = 'Sorry, there was an error connecting you to the application.' | 
| const ILIAS\LTI\ToolProvider\Tool::ID_SCOPE_CONTEXT = 2 | 
Prefix the ID with the consumer key and context ID.
Definition at line 61 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\UserResult\getId().
| const ILIAS\LTI\ToolProvider\Tool::ID_SCOPE_GLOBAL = 1 | 
Prefix an ID with the consumer key.
Definition at line 56 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\UserResult\getId().
| const ILIAS\LTI\ToolProvider\Tool::ID_SCOPE_ID_ONLY = 0 | 
Use ID value only.
Definition at line 51 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\UserResult\getId(), ilLTIPlatform\initialize(), and ILIAS\LTI\ToolProvider\Platform\initialize().
| const ILIAS\LTI\ToolProvider\Tool::ID_SCOPE_RESOURCE = 3 | 
Prefix the ID with the consumer key and resource ID.
Definition at line 66 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\UserResult\getId(), ILIAS\LTI\ToolProvider\Service\Membership\getMembers(), and ILIAS\LTI\ToolProvider\ResourceLink\getMemberships().
| const ILIAS\LTI\ToolProvider\Tool::ID_SCOPE_SEPARATOR = ':' | 
Character used to separate each element of an ID.
Definition at line 71 of file Tool.php.
Referenced by ILIAS\LTI\ToolProvider\UserResult\getId().