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
|
|
|
|
2019-10-07 14:33:48 +00:00
|
|
|
from passbook.providers.saml import views
|
2018-11-16 08:10:35 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2019-12-31 11:51:16 +00:00
|
|
|
path(
|
|
|
|
"<slug:application>/login/", views.LoginBeginView.as_view(), name="saml-login"
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"<slug:application>/login/initiate/",
|
|
|
|
views.InitiateLoginView.as_view(),
|
|
|
|
name="saml-login-initiate",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"<slug:application>/login/process/",
|
|
|
|
views.LoginProcessView.as_view(),
|
|
|
|
name="saml-login-process",
|
|
|
|
),
|
|
|
|
path("<slug:application>/logout/", views.LogoutView.as_view(), name="saml-logout"),
|
|
|
|
path(
|
|
|
|
"<slug:application>/logout/slo/",
|
|
|
|
views.SLOLogout.as_view(),
|
|
|
|
name="saml-logout-slo",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"<slug:application>/metadata/",
|
|
|
|
views.DescriptorDownloadView.as_view(),
|
|
|
|
name="saml-metadata",
|
|
|
|
),
|
2018-11-16 08:10:35 +00:00
|
|
|
]
|