first
This commit is contained in:
commit
89a5d70512
284 files changed
+8364
No files matched your search
@@ -0,0 +1,16 @@
|
||||
from django.urls import path
|
||||
from apps.jwt_auth.views import (
|
||||
CustomTokenRefreshView,
|
||||
CustomTokenObtainPairView,
|
||||
LoginByUserView,
|
||||
LoginByMobileView,
|
||||
VerifyMobileAndGetTokenView
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path('login/username/', LoginByUserView.as_view(), name='login_by_username'),
|
||||
path('login/mobile/', LoginByMobileView.as_view(), name='login_by_mobile'),
|
||||
path('login/mobile/verify/', VerifyMobileAndGetTokenView.as_view(), name='verify_mobile'),
|
||||
path('token/', CustomTokenObtainPairView.as_view(), name='token_obtain_pair'),
|
||||
path('token/refresh/', CustomTokenRefreshView.as_view(), name='token_refresh'),
|
||||
]
|
||||
Reference in new issue
Block a user