authentik.enterprise.endpoints.connectors.agent.urls

 1from django.urls import path
 2
 3from authentik.enterprise.endpoints.connectors.agent.views.apple_jwks import AppleJWKSView
 4from authentik.enterprise.endpoints.connectors.agent.views.apple_nonce import NonceView
 5from authentik.enterprise.endpoints.connectors.agent.views.apple_register import (
 6    RegisterDeviceView,
 7    RegisterUserView,
 8)
 9from authentik.enterprise.endpoints.connectors.agent.views.apple_token import TokenView
10from authentik.enterprise.endpoints.connectors.agent.views.auth_interactive import (
11    AgentInteractiveAuth,
12)
13
14urlpatterns = [
15    path(
16        "authenticate/<uuid:token_uuid>/",
17        AgentInteractiveAuth.as_view(),
18        name="authenticate",
19    ),
20    path("psso/token/", TokenView.as_view(), name="psso-token"),
21    path("psso/jwks/", AppleJWKSView.as_view(), name="psso-jwks"),
22    path("psso/nonce/", NonceView.as_view(), name="psso-nonce"),
23]
24
25api_urlpatterns = [
26    path(
27        "endpoints/agents/psso/register/device/",
28        RegisterDeviceView.as_view(),
29        name="psso-register-device",
30    ),
31    path(
32        "endpoints/agents/psso/register/user/",
33        RegisterUserView.as_view(),
34        name="psso-register-user",
35    ),
36]
urlpatterns = [<URLPattern 'authenticate/<uuid:token_uuid>/' [name='authenticate']>, <URLPattern 'psso/token/' [name='psso-token']>, <URLPattern 'psso/jwks/' [name='psso-jwks']>, <URLPattern 'psso/nonce/' [name='psso-nonce']>]
api_urlpatterns = [<URLPattern 'endpoints/agents/psso/register/device/' [name='psso-register-device']>, <URLPattern 'endpoints/agents/psso/register/user/' [name='psso-register-user']>]