2020-05-06 23:20:08 +00:00
|
|
|
"""passbook samlv2 URLs"""
|
|
|
|
from django.urls import path
|
|
|
|
|
2020-05-16 14:02:42 +00:00
|
|
|
from passbook.providers.samlv2.views import authorize, idp_initiated, slo, sso
|
2020-05-06 23:20:08 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path(
|
2020-05-07 17:25:15 +00:00
|
|
|
"<slug:app_slug>/authorize/",
|
|
|
|
authorize.AuthorizeView.as_view(),
|
|
|
|
name="authorize",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"<slug:app_slug>/sso/redirect/",
|
2020-05-06 23:20:08 +00:00
|
|
|
sso.SAMLRedirectBindingView.as_view(),
|
|
|
|
name="sso-redirect",
|
|
|
|
),
|
|
|
|
path(
|
2020-05-07 17:25:15 +00:00
|
|
|
"<slug:app_slug>/sso/post/", sso.SAMLPostBindingView.as_view(), name="sso-post",
|
2020-05-06 23:20:08 +00:00
|
|
|
),
|
|
|
|
path(
|
2020-05-07 17:25:15 +00:00
|
|
|
"<slug:app_slug>/slo/redirect/",
|
2020-05-06 23:20:08 +00:00
|
|
|
slo.SAMLRedirectBindingView.as_view(),
|
|
|
|
name="slo-redirect",
|
|
|
|
),
|
|
|
|
path(
|
2020-05-07 17:25:15 +00:00
|
|
|
"<slug:app_slug>/slo/redirect/",
|
2020-05-06 23:20:08 +00:00
|
|
|
slo.SAMLPostBindingView.as_view(),
|
|
|
|
name="slo-post",
|
|
|
|
),
|
|
|
|
path(
|
2020-05-07 17:25:15 +00:00
|
|
|
"<slug:app_slug>/initiate/",
|
2020-05-06 23:20:08 +00:00
|
|
|
idp_initiated.IDPInitiatedView.as_view(),
|
|
|
|
name="initiate",
|
|
|
|
),
|
|
|
|
]
|