我試圖實現從我的應用程序使用Valence API實際註銷的方式。我明顯可以清除會話,但是有沒有辦法通過API實際註銷Desire2Learn站點?我查看了文檔,沒有看到任何內容。Desire2Learn Valence API註銷
6
A
回答
3
不,目前沒有明確註銷或登錄的路由。但是,您可以使用Valence身份驗證過程爲新用戶生成憑據。在這種情況下,您需要做的是使用瀏覽器與沒有與LMS開放會話的用戶進行交互:只要LMS認爲執行身份驗證的用戶部分的瀏覽器具有開放會話,它將爲用戶傳回用戶憑證,而不是要求用戶重新進行身份驗證。
通常情況下,LMS處於非活動狀態的會話在短時間後過期,然後LMS將強制用戶重新進行身份驗證(如果您的應用啓動身份驗證過程)。
+0
這很有道理。謝謝(你的)信息。 – Harry
相關問題
- 1. Desire2Learn Valence API | JSON不加載
- 2. Desire2Learn Valence API用戶ID
- 3. Desire2Learn Valence API版本參數
- 4. Desire2Learn庫部分的Valence API
- 5. Desire2Learn Valence API開始時間UTC格式?
- 6. Desire2Learn Valence API創建和更新部分?
- 7. Desire2Learn Valence API - 文件名中的空格
- 8. 如何使用Desire2learn Valence API在課程中註冊學生?
- 9. Desire2Learn通過Shibboleth學習Valence認證
- 10. 如何在Desire2Learn的Valence API中爲用戶返回100多個註冊?
- 11. Desire2Learn Valence API課程創建路徑信息不正確
- 12. Desire2Learn Valence API - 可以獲取文檔的內容嗎?
- 13. 如何從Desire2Learn Valence API獲得「活躍」課程?
- 14. Desire2Learn Valence API非交互式身份驗證
- 15. Desire2Learn Valence API PUT在記錄存在時表示未找到
- 16. Desire2Learn Valence API訪問數據清除工具?
- 17. Valence API列出所有教師註冊
- 18. Desire2Learn Valence Web Intelligence中未顯示的人口統計信息
- 19. Valence API Grade Export
- 20. Desire2Learn Max API Limit
- 21. 有沒有辦法在valence desire2learn API中獲取用戶語言環境?
- 22. Twitter API - 註銷
- 23. Desire2Learn is_dropped,is_released和SOAP和Valence GradeValue對象中的狀態
- 24. 從LinkedIn註銷API
- 25. Salesforce REST API註銷
- 26. Valence:從部分
- 27. desire2learn valence得到用戶撥打電話403沒有授權錯誤
- 28. 用Valence API編程的新手段
- 29. Valence API的POST方法
- 30. Desire2學習SOAP和Valence API中的課程信息
我在我們的D2L實例中對javascript進行了一些跟蹤,並且我能夠確定https://site.name.edu/d2l/logout至少提供了一個確認他們要註銷的頁面。這至少爲他們提供了一個實際註銷的快速選項。 – Harry
實際上,這似乎並沒有真正關閉API會話。它將它們註銷,但API調用並不反映它們不再登錄...回到繪圖板。 – Harry
你的意思是使用戶的令牌無效嗎? – Flame