MDL-69542 enrol_lti: remaining changes for dynamic registration support
commit66b76c45454142b52f1180fa5b1216073db4f9b9
authorJake Dallimore <jake@moodle.com>
Mon, 24 Jan 2022 09:34:43 +0000 (24 17:34 +0800)
committerJake Dallimore <jake@moodle.com>
Fri, 11 Feb 2022 03:06:05 +0000 (11 11:06 +0800)
treeb7863de1e4dcf478514b93ed781e0901cb0b060f
parentd5ed4a3184e8187edad0eae9cb290c4f5cea1a6b
MDL-69542 enrol_lti: remaining changes for dynamic registration support

- Allow the tool to generate secure, one time, dynamic registration
URLs for use in supporting platforms.
- Registration endpoint, which validates the one time URL, makes
the registration requqest to the platform and adds the approriate
tool registration changes in the tool on success.
- Admin settings pages make use of the 'copy to clipboard' module
which is now in core.
enrol/lti/classes/local/ltiadvantage/external/delete_registration_url.php [new file with mode: 0644]
enrol/lti/classes/local/ltiadvantage/external/get_registration_url.php [new file with mode: 0644]
enrol/lti/db/services.php [new file with mode: 0644]
enrol/lti/register.php [new file with mode: 0644]
enrol/lti/tests/local/ltiadvantage/external/delete_registration_url_test.php [new file with mode: 0644]
enrol/lti/tests/local/ltiadvantage/external/get_registration_url_test.php [new file with mode: 0644]
enrol/lti/version.php
lib/classes/output/icon_system_fontawesome.php
pix/t/clipboard.png [new file with mode: 0644]
pix/t/clipboard.svg [new file with mode: 0644]