|
1: 2021-07-14 (水) 13:29:08 iseki |
| + | ** Hack for Moodle LTI [#w4c22429] |
| + | *** Moodle が JupyterHub に送るデータ [#uff7064e] |
| + | { |
| + | 'oauth_version': '1.0', |
| + | 'oauth_nonce': '58d68cc3fdedf30d9eeb968e0a057999', |
| + | 'oauth_timestamp': '1626225398', |
| + | 'oauth_consumer_key': 'b18e82ec683724743236fade71350720029a29144a585c66f6741d8e9c6e0d83', |
| + | 'user_id': '160', |
| + | 'lis_person_sourcedid': '', |
| + | 'roles': 'Learner', |
| + | 'context_id': '98', |
| + | 'context_label': 'TEST2_1', |
| + | 'context_title': 'TEST2 コピー 1', |
| + | 'resource_link_title': 'JupyterHub', |
| + | 'resource_link_description': '', |
| + | 'resource_link_id': '10', |
| + | 'context_type': 'CourseSection', |
| + | 'lis_course_section_sourcedid': '', |
| + | 'lis_result_sourcedid': '{ |
| + | "data":{ |
| + | "instanceid":"10", |
| + | "userid":"160", |
| + | "typeid":"2", |
| + | "launchid":1197426197 |
| + | }, |
| + | "hash":"77b06a98a08b45f95dc420e2453bd64fdbe02379ed010b53a501e228c03b2005" |
| + | }', |
| + | 'lis_outcome_service_url': 'https://el.mml.tuis.ac.jp/moodle/mod/lti/service.php', |
| + | 'lis_person_name_given': 'bob', |
| + | 'lis_person_name_family': 'テストユーザ', |
| + | 'lis_person_name_full': 'bob テストユ ーザ', |
| + | 'ext_user_username': 'bob', |
| + | 'lis_person_contact_email_primary': 'bob@solar-system.tuis.ac.jp', |
| + | 'launch_presentation_locale': 'ja', |
| + | 'ext_lms': 'moodle-2', |
| + | 'tool_consumer_info_product_family_code': 'moodle', |
| + | 'tool_consumer_info_version': '2020110902', |
| + | 'oauth_callback': 'about:blank', |
| + | 'lti_version': 'LTI-1p0', |
| + | 'lti_message_type': 'basic-lti-launch-request', |
| + | 'tool_consumer_instance_guid': '5384b0f81508b987c188b1985f5cd4e0', |
| + | 'tool_consumer_instance_name': 'EL MML', |
| + | 'tool_consumer_instance_description': 'e-Learning of MML', |
| + | 'launch_presentation_document_target': 'window', |
| + | 'launch_presentation_return_url': 'https://el.mml.tuis.ac.jp/moodle/mod/lti/return.php?course=98&launch_container=4&instanceid=10&sesskey=DSnzLC42wK', |
| + | 'oauth_signature_method': 'HMAC-SHA1', |
| + | 'oauth_signature': 't+ctcGhvev5hDh/Tz21NOYFBw8s=' |
| + | } |