authentik.enterprise.providers.ssf.urls

SSF provider URLs

 1"""SSF provider URLs"""
 2
 3from django.urls import path
 4
 5from authentik.enterprise.providers.ssf.api.providers import SSFProviderViewSet
 6from authentik.enterprise.providers.ssf.api.streams import SSFStreamViewSet
 7from authentik.enterprise.providers.ssf.views.configuration import ConfigurationView
 8from authentik.enterprise.providers.ssf.views.jwks import JWKSview
 9from authentik.enterprise.providers.ssf.views.stream import (
10    StreamStatusView,
11    StreamVerifyView,
12    StreamView,
13)
14
15urlpatterns = [
16    path(
17        "application/ssf/<slug:application_slug>/ssf-jwks/",
18        JWKSview.as_view(),
19        name="jwks",
20    ),
21    path(
22        ".well-known/ssf-configuration/<slug:application_slug>",
23        ConfigurationView.as_view(),
24        name="configuration",
25    ),
26    path(
27        "application/ssf/<slug:application_slug>/stream/",
28        StreamView.as_view(),
29        name="stream",
30    ),
31    path(
32        "application/ssf/<slug:application_slug>/stream/verify/",
33        StreamVerifyView.as_view(),
34        name="stream-verify",
35    ),
36    path(
37        "application/ssf/<slug:application_slug>/stream/status/",
38        StreamStatusView.as_view(),
39        name="stream-status",
40    ),
41]
42
43api_urlpatterns = [
44    ("providers/ssf", SSFProviderViewSet),
45    ("ssf/streams", SSFStreamViewSet),
46]
urlpatterns = [<URLPattern 'application/ssf/<slug:application_slug>/ssf-jwks/' [name='jwks']>, <URLPattern '.well-known/ssf-configuration/<slug:application_slug>' [name='configuration']>, <URLPattern 'application/ssf/<slug:application_slug>/stream/' [name='stream']>, <URLPattern 'application/ssf/<slug:application_slug>/stream/verify/' [name='stream-verify']>, <URLPattern 'application/ssf/<slug:application_slug>/stream/status/' [name='stream-status']>]