2018-05-03 22:19:54 -04:00
|
|
|
from django.urls import path
|
2017-10-24 08:50:57 -04:00
|
|
|
from . import views
|
|
|
|
|
2023-08-10 02:52:37 -04:00
|
|
|
app_name = "lemonauth"
|
2017-10-24 08:50:57 -04:00
|
|
|
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",
|
|
|
|
),
|
2017-10-24 08:50:57 -04:00
|
|
|
]
|