This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/providers/saml/urls.py
2019-12-31 12:51:16 +01:00

32 lines
854 B
Python

"""passbook SAML IDP URLs"""
from django.urls import path
from passbook.providers.saml import views
urlpatterns = [
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",
),
]