(no description)
File Size: | 87 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
renderer:: (2 methods):
render_account_binding_options_page()
render_account_binding_complete()
render_account_binding_options_page(int $provisioningmode) X-Ref |
Render the account options view, displayed to instructors on first launch if no account binding exists. return: string the html. param: int $provisioningmode the desired account provisioning mode, see auth_plugin_lti constants for details. |
render_account_binding_complete(notification $notification, \moodle_url $returnurl) X-Ref |
Render the page displayed when the account binding is complete, letting the user continue to the launch. Callers can provide different messages depending on which type of binding took place. For example, a newly provisioned account may require a slightly different message to an existing account being linked. The return URL is the page the user will be taken back to when they click 'Continue'. This is likely the launch or deeplink launch endpoint but could be any calling code in LTI which wants to use the account binding workflow. return: string the rendered HTML param: notification $notification the notification containing the message describing the binding success. param: \moodle_url $returnurl the URL to return to when the user clicks continue on the rendered page. |