20 lines
689 B
Python
20 lines
689 B
Python
"""API URLs"""
|
|
|
|
from authentik.stages.authenticator_webauthn.api.device_types import WebAuthnDeviceTypeViewSet
|
|
from authentik.stages.authenticator_webauthn.api.devices import (
|
|
WebAuthnAdminDeviceViewSet,
|
|
WebAuthnDeviceViewSet,
|
|
)
|
|
from authentik.stages.authenticator_webauthn.api.stages import AuthenticatorWebAuthnStageViewSet
|
|
|
|
api_urlpatterns = [
|
|
("stages/authenticator/webauthn", AuthenticatorWebAuthnStageViewSet),
|
|
("stages/authenticator/webauthn_device_types", WebAuthnDeviceTypeViewSet),
|
|
(
|
|
"authenticators/admin/webauthn",
|
|
WebAuthnAdminDeviceViewSet,
|
|
"admin-webauthndevice",
|
|
),
|
|
("authenticators/webauthn", WebAuthnDeviceViewSet),
|
|
]
|