lemoncurry/lemonauth/urls.py

18 lines
567 B
Python
Raw Permalink Normal View History

from django.urls import path
from . import views
2023-08-10 02:52:37 -04:00
app_name = "lemonauth"
urlpatterns = [
2023-08-10 02:52:37 -04:00
path("login", views.login, name="login"),
path("logout", views.logout, name="logout"),
path("indie", views.IndieView.as_view(), name="indie"),
path("indie/approve", views.indie_approve, name="indie_approve"),
path("token", views.TokenView.as_view(), name="token"),
path("tokens", views.TokensListView.as_view(), name="tokens"),
path(
"tokens/<path:client_id>",
views.TokensRevokeView.as_view(),
name="tokens_revoke",
),
]