2018-11-16 09:08:15 +00:00
|
|
|
"""passbook SAML IDP URLs"""
|
2018-12-26 13:32:33 +00:00
|
|
|
from django.urls import path
|
2018-11-16 08:10:35 +00:00
|
|
|
|
|
|
|
from passbook.saml_idp import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2018-12-26 16:26:17 +00:00
|
|
|
path('login/<slug:application>/',
|
|
|
|
views.LoginBeginView.as_view(), name="saml_login_begin"),
|
2018-12-26 20:56:08 +00:00
|
|
|
path('login/<slug:application>/initiate/',
|
|
|
|
views.InitiateLoginView.as_view(), name="saml_login_init"),
|
2018-12-26 16:26:17 +00:00
|
|
|
path('login/<slug:application>/process/',
|
|
|
|
views.LoginProcessView.as_view(), name='saml_login_process'),
|
2018-12-26 13:32:33 +00:00
|
|
|
path('logout/', views.LogoutView.as_view(), name="saml_logout"),
|
2018-12-26 16:26:17 +00:00
|
|
|
path('metadata/<slug:application>/',
|
2018-12-26 13:32:33 +00:00
|
|
|
views.DescriptorDownloadView.as_view(), name='metadata_xml'),
|
2018-11-16 08:10:35 +00:00
|
|
|
]
|