This LTI® v1.3 Reference Implementation Test Tool is provided by IMS Global Learning Consortium. Limited functionality is provided free of charge. IMS Members have access to the complete functionality of the tool including services and message types. Join now to experience full functionality of the tool, technical support and certification. If you are an existing member login here for full access.

Platform: StEduCenter

Context: Python编程基础

Title: Python函数使用

Description: 函数入门

JWT attributes in request:

{
  "https://purl.imsglobal.org/spec/lti/claim/message_type": "LtiResourceLinkRequest",
  "given_name": "Ja",
  "family_name": "Rodriguez",
  "middle_name": "Mueller",
  "picture": "http://example.org/Ja.jpg",
  "email": "Ja.Rodriguez@example.org",
  "name": "Ja Mueller Rodriguez",
  "https://purl.imsglobal.org/spec/lti/claim/roles": [
    "http://purl.imsglobal.org/vocab/lis/v2/membership#Learner",
    "http://purl.imsglobal.org/vocab/lis/v2/institution/person#Student",
    "http://purl.imsglobal.org/vocab/lis/v2/membership#Mentor"
  ],
  "https://purl.imsglobal.org/spec/lti/claim/role_scope_mentor": [
    "a62c52c02ba262003f5e"
  ],
  "https://purl.imsglobal.org/spec/lti/claim/resource_link": {
    "id": "34106",
    "title": "Python函数使用",
    "description": "函数入门"
  },
  "https://purl.imsglobal.org/spec/lti/claim/context": {
    "id": "21442",
    "label": "AI",
    "title": "Python编程基础",
    "type": [
      "小学"
    ]
  },
  "https://purl.imsglobal.org/spec/lti/claim/tool_platform": {
    "name": "StEduCenter",
    "contact_email": "",
    "description": "",
    "url": "",
    "product_family_code": "",
    "version": "1.0",
    "guid": 1945
  },
  "https://purl.imsglobal.org/spec/lti-ags/claim/endpoint": {
    "scope": [
      "https://purl.imsglobal.org/spec/lti-ags/scope/lineitem",
      "https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly",
      "https://purl.imsglobal.org/spec/lti-ags/scope/score"
    ],
    "lineitems": "https://lti-ri.imsglobal.org/platforms/1945/contexts/21442/line_items",
    "lineitem": "https://lti-ri.imsglobal.org/platforms/1945/contexts/21442/line_items/16538"
  },
  "https://purl.imsglobal.org/spec/lti-nrps/claim/namesroleservice": {
    "context_memberships_url": "https://lti-ri.imsglobal.org/platforms/1945/contexts/21442/memberships",
    "service_versions": [
      "2.0"
    ]
  },
  "https://purl.imsglobal.org/spec/lti-ces/claim/caliper-endpoint-service": {
    "scopes": [
      "https://purl.imsglobal.org/spec/lti-ces/v1p0/scope/send"
    ],
    "caliper_endpoint_url": "https://lti-ri.imsglobal.org/platforms/1945/sensors",
    "caliper_federated_session_id": "urn:uuid:ff164f937ee93e321b5b"
  },
  "iss": "https://lti-ri.imsglobal.org",
  "aud": "c12345",
  "iat": 1638398001,
  "exp": 1638398301,
  "sub": "df9971b0e00ea1f50bd3",
  "nonce": "ba1c829876bac392e85b",
  "https://purl.imsglobal.org/spec/lti/claim/version": "1.3.0",
  "locale": "en-US",
  "https://purl.imsglobal.org/spec/lti/claim/launch_presentation": {
    "document_target": "iframe",
    "height": 320,
    "width": 240,
    "return_url": "https://lti-ri.imsglobal.org/platforms/1945/returns"
  },
  "https://www.example.com/extension": {
    "color": "violet"
  },
  "https://purl.imsglobal.org/spec/lti/claim/custom": {
    "myCustomValue": "123"
  },
  "https://purl.imsglobal.org/spec/lti/claim/deployment_id": "d_1",
  "https://purl.imsglobal.org/spec/lti/claim/target_link_uri": "https://lti-ri.imsglobal.org/lti/tools/1801/launches"
}

JWT that will be sent:

eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlhGeV9XcnltVUJiUFF1dU16bHdFWndxSld4clNJUGZHMkpBV000V3BadmcifQ.eyJodHRwczovL3B1cmwuaW1zZ2xvYmFsLm9yZy9zcGVjL2x0aS9jbGFpbS9tZXNzYWdlX3R5cGUiOiJMdGlSZXNvdXJjZUxpbmtSZXF1ZXN0IiwiZ2l2ZW5fbmFtZSI6IkphIiwiZmFtaWx5X25hbWUiOiJSb2RyaWd1ZXoiLCJtaWRkbGVfbmFtZSI6Ik11ZWxsZXIiLCJwaWN0dXJlIjoiaHR0cDovL2V4YW1wbGUub3JnL0phLmpwZyIsImVtYWlsIjoiSmEuUm9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