Add: setup new blacklist token api auth enpoint route
This commit is contained in:
parent
ff53803214
commit
dded1ecabc
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ from django.urls import path
|
|||
from rest_framework_simplejwt.views import (
|
||||
TokenObtainPairView,
|
||||
TokenRefreshView,
|
||||
TokenBlacklistView,
|
||||
)
|
||||
|
||||
from api.authentication.views import LogoutView
|
||||
|
@ -11,4 +12,5 @@ urlpatterns = [
|
|||
path("logout/", LogoutView.as_view(), name="logout"),
|
||||
path("token/", TokenObtainPairView.as_view(), name="token_obtain_pair"),
|
||||
path("token/refresh/", TokenRefreshView.as_view(), name="token_refresh"),
|
||||
path("token/blacklist/", TokenBlacklistView.as_view(), name="token_blacklist"),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue