【问题标题】:Launch xApi (TinCan) package at LMS with oAuth on LRS在 LMS 上使用 LRS 上的 oAuth 启动 xApi (TinCan) 包
【发布时间】:2019-12-14 12:07:12
【问题描述】:

在 LRS 上使用 oAuth 授权启动 xApi (TinCan api) 包需要哪些 url 参数?

我只找到了基本身份验证的示例:

?endpoint=https://lrs.example.com/xAPI/
&auth=Basic%20efnkn4kn3jk3nfkwefoew
&actor={"name": "username", "mbox": "mailto:email@example.com", "objectType": "Agent"}
&registration=ffbe80cc-1732-11ea-8d71-362b9e155666
&activity_id=http://www.example.com/LA1/001/intro

和带有 oAuth 授权的参数,但对于 CMI5:

?endpoint=https://lrs.example.gov/xAPI/
&fetch=http://test/token&actor={"objectType": "Agent","account": 
{"homePage": "http://www.example.com","name": "1625378"}
&registration=760e3480-ba55-4991-94b0-01820dbd23a4
&activityId=http://www.example.com/LA1/001/intro

【问题讨论】:

    标签: tin-can-api lrs xapi


    【解决方案1】:

    根据 Tin Can 启动指南执行 OAuth 启动时,没有额外的 URL 参数。 LRS 端点应该是所有需要的,其余的身份验证过程使用 LRS 提供的资源。请参阅 xAPI 规范本身中的各种 OAuth 工作流。请参阅https://stackoverflow.com/a/24212579/1464957 了解更多信息。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-16
      • 2022-07-12
      • 1970-01-01
      • 2017-03-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多