Implement a token endpoint - currently all tokens last forever and can't be revoked, but I can add revocation later without too much trouble
This commit is contained in:
parent
9add6be8e4
commit
179f5753ed
5 changed files with 85 additions and 9 deletions
|
@ -7,4 +7,5 @@ urlpatterns = [
|
|||
url('^logout$', views.logout, name='logout'),
|
||||
url('^indie$', views.IndieView.as_view(), name='indie'),
|
||||
url('^indie/approve$', views.indie_approve, name='indie_approve'),
|
||||
url('^token$', views.TokenView.as_view(), name='token'),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue