mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-23 00:23:00 -05:00
lti
This commit is contained in:
23
lti/urls.py
Normal file
23
lti/urls.py
Normal file
@@ -0,0 +1,23 @@
|
||||
"""
|
||||
LTI 1.3 URL Configuration for MediaCMS
|
||||
"""
|
||||
|
||||
from django.urls import path
|
||||
|
||||
from . import deep_linking, views
|
||||
|
||||
app_name = 'lti'
|
||||
|
||||
urlpatterns = [
|
||||
# LTI 1.3 Launch Flow
|
||||
path('oidc/login/', views.OIDCLoginView.as_view(), name='oidc_login'),
|
||||
path('launch/', views.LaunchView.as_view(), name='launch'),
|
||||
path('jwks/', views.JWKSView.as_view(), name='jwks'),
|
||||
# Deep Linking
|
||||
path('select-media/', deep_linking.SelectMediaView.as_view(), name='select_media'),
|
||||
# LTI-authenticated pages
|
||||
path('my-media/', views.MyMediaLTIView.as_view(), name='my_media'),
|
||||
path('embed/<str:friendly_token>/', views.EmbedMediaLTIView.as_view(), name='embed_media'),
|
||||
# Manual sync
|
||||
path('sync/<int:platform_id>/<str:context_id>/', views.ManualSyncView.as_view(), name='manual_sync'),
|
||||
]
|
||||
Reference in New Issue
Block a user