authentik.enterprise.stages.authenticator_endpoint_gdtc.urls

API URLs

 1"""API URLs"""
 2
 3from django.urls import path
 4
 5from authentik.enterprise.stages.authenticator_endpoint_gdtc.api import (
 6    AuthenticatorEndpointGDTCStageViewSet,
 7    EndpointAdminDeviceViewSet,
 8    EndpointDeviceViewSet,
 9)
10from authentik.enterprise.stages.authenticator_endpoint_gdtc.views.dtc import (
11    GoogleChromeDeviceTrustConnector,
12)
13
14urlpatterns = [
15    path("chrome/", GoogleChromeDeviceTrustConnector.as_view(), name="chrome"),
16]
17
18api_urlpatterns = [
19    ("authenticators/endpoint", EndpointDeviceViewSet),
20    (
21        "authenticators/admin/endpoint",
22        EndpointAdminDeviceViewSet,
23        "admin-endpointdevice",
24    ),
25    ("stages/authenticator/endpoint_gdtc", AuthenticatorEndpointGDTCStageViewSet),
26]
urlpatterns = [<URLPattern 'chrome/' [name='chrome']>]
api_urlpatterns = [('authenticators/endpoint', <class 'authentik.enterprise.stages.authenticator_endpoint_gdtc.api.EndpointDeviceViewSet'>), ('authenticators/admin/endpoint', <class 'authentik.enterprise.stages.authenticator_endpoint_gdtc.api.EndpointAdminDeviceViewSet'>, 'admin-endpointdevice'), ('stages/authenticator/endpoint_gdtc', <class 'authentik.enterprise.stages.authenticator_endpoint_gdtc.api.AuthenticatorEndpointGDTCStageViewSet'>)]