2018-05-03 22:19:54 -04:00
|
|
|
from django.urls import path
|
2017-10-24 08:50:57 -04:00
|
|
|
from . import views
|
|
|
|
|
|
|
|
app_name = 'lemonauth'
|
|
|
|
urlpatterns = [
|
2018-05-03 22:19:54 -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'),
|
2018-06-25 08:31:42 -04:00
|
|
|
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
|
|
|
]
|