░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/moodle/public/lib/ltiprovider/src/ToolProvider/MediaType
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: ToolProxy.php
<?php namespace IMSGlobal\LTI\ToolProvider\MediaType; use IMSGlobal\LTI\Profile\ServiceDefinition; use IMSGlobal\LTI\ToolProvider\ToolProvider; /** * Class to represent an LTI Tool Proxy media type * * @author Stephen P Vickers <svickers@imsglobal.org> * @copyright IMS Global Learning Consortium Inc * @date 2016 * @version 3.0.0 * @license GNU Lesser General Public License, version 3 (<http://www.gnu.org/licenses/lgpl.html>) */ #[\AllowDynamicProperties] class ToolProxy { /** * Class constructor. * * @param ToolProvider $toolProvider Tool Provider object * @param ServiceDefinition $toolProxyService Tool Proxy service * @param string $secret Shared secret */ function __construct($toolProvider, $toolProxyService, $secret) { $contexts = array(); $this->{'@context'} = array_merge(array('http://purl.imsglobal.org/ctx/lti/v2/ToolProxy'), $contexts); $this->{'@type'} = 'ToolProxy'; $this->{'@id'} = "{$toolProxyService->endpoint}"; $this->lti_version = 'LTI-2p0'; $this->tool_consumer_profile = $toolProvider->consumer->profile->{'@id'}; $this->tool_profile = new ToolProfile($toolProvider); $this->security_contract = new SecurityContract($toolProvider, $secret); } }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 Message.php
PHP
1.5 KB
2026-02-11 01:44
EDIT
📄 ResourceHandler.php
PHP
2 KB
2026-02-11 01:44
EDIT
📄 SecurityContract.php
PHP
3 KB
2026-02-11 01:44
EDIT
📄 ToolProfile.php
PHP
4 KB
2026-02-11 01:44
EDIT
📄 ToolProxy.php
PHP
1.3 KB
2026-02-11 01:44
EDIT