"""URL configuration for ECP Auth.

Defines URL patterns for login, registration, logout,
and the challenge-response API.
"""

from django.urls import path

from ecp_auth.views import (
    ECPChallengeView,
    ECPLoginView,
    ECPLogoutView,
    ECPRegisterView,
)

app_name: str = "ecp_auth"

urlpatterns = [
    path("login/", ECPLoginView.as_view(), name="login"),
    path("register/", ECPRegisterView.as_view(), name="register"),
    path("logout/", ECPLogoutView.as_view(), name="logout"),
    path("challenge/", ECPChallengeView.as_view(), name="challenge"),
]
