authentik.enterprise.endpoints.connectors.agent.urls

 1from django.urls import path
 2
 3from authentik.enterprise.endpoints.connectors.agent.api.secure_enclave import (
 4    AppleIndependentSecureEnclaveViewSet,
 5)
 6from authentik.enterprise.endpoints.connectors.agent.views.apple_authorize import (
 7    AppleAuthorizePreauthView,
 8    AppleAuthorizeView,
 9)
10from authentik.enterprise.endpoints.connectors.agent.views.apple_jwks import AppleJWKSView
11from authentik.enterprise.endpoints.connectors.agent.views.apple_nonce import NonceView
12from authentik.enterprise.endpoints.connectors.agent.views.apple_register import (
13    RegisterDeviceView,
14    RegisterUserView,
15)
16from authentik.enterprise.endpoints.connectors.agent.views.apple_token import TokenView
17from authentik.enterprise.endpoints.connectors.agent.views.auth_interactive import (
18    AgentInteractiveAuth,
19)
20
21urlpatterns = [
22    path(
23        "authenticate/<uuid:token_uuid>/",
24        AgentInteractiveAuth.as_view(),
25        name="authenticate",
26    ),
27    path(
28        "psso/<uuid:connector_uuid>/authorize/",
29        AppleAuthorizeView.as_view(),
30        name="psso-authorize",
31    ),
32    path(
33        "psso/<uuid:connector_uuid>/preauthenticate/",
34        AppleAuthorizePreauthView.as_view(),
35        name="psso-preauthenticate",
36    ),
37    path("psso/token/", TokenView.as_view(), name="psso-token"),
38    path("psso/jwks/", AppleJWKSView.as_view(), name="psso-jwks"),
39    path("psso/nonce/", NonceView.as_view(), name="psso-nonce"),
40]
41
42api_urlpatterns = [
43    ("endpoints/agents/psso/ise", AppleIndependentSecureEnclaveViewSet),
44    path(
45        "endpoints/agents/psso/register/device/",
46        RegisterDeviceView.as_view(),
47        name="psso-register-device",
48    ),
49    path(
50        "endpoints/agents/psso/register/user/",
51        RegisterUserView.as_view(),
52        name="psso-register-user",
53    ),
54]
urlpatterns = [<URLPattern 'authenticate/<uuid:token_uuid>/' [name='authenticate']>, <URLPattern 'psso/<uuid:connector_uuid>/authorize/' [name='psso-authorize']>, <URLPattern 'psso/<uuid:connector_uuid>/preauthenticate/' [name='psso-preauthenticate']>, <URLPattern 'psso/token/' [name='psso-token']>, <URLPattern 'psso/jwks/' [name='psso-jwks']>, <URLPattern 'psso/nonce/' [name='psso-nonce']>]
api_urlpatterns = [('endpoints/agents/psso/ise', <class 'authentik.enterprise.endpoints.connectors.agent.api.secure_enclave.AppleIndependentSecureEnclaveViewSet'>), <URLPattern 'endpoints/agents/psso/register/device/' [name='psso-register-device']>, <URLPattern 'endpoints/agents/psso/register/user/' [name='psso-register-user']>]