authentik.stages.authenticator_totp.urls

API URLs

 1"""API URLs"""
 2
 3from authentik.stages.authenticator_totp.api import (
 4    AuthenticatorTOTPStageViewSet,
 5    TOTPAdminDeviceViewSet,
 6    TOTPDeviceViewSet,
 7)
 8
 9api_urlpatterns = [
10    ("authenticators/totp", TOTPDeviceViewSet),
11    ("authenticators/admin/totp", TOTPAdminDeviceViewSet, "admin-totpdevice"),
12    ("stages/authenticator/totp", AuthenticatorTOTPStageViewSet),
13]
api_urlpatterns = [('authenticators/totp', <class 'authentik.stages.authenticator_totp.api.TOTPDeviceViewSet'>), ('authenticators/admin/totp', <class 'authentik.stages.authenticator_totp.api.TOTPAdminDeviceViewSet'>, 'admin-totpdevice'), ('stages/authenticator/totp', <class 'authentik.stages.authenticator_totp.api.AuthenticatorTOTPStageViewSet'>)]