gateway_placeholder/gateway/security/urls.py

11 lines
474 B
Python
Raw Permalink Normal View History

2024-11-30 05:30:54 +00:00
from django.urls import path
from rest_framework_simplejwt.views import (TokenObtainPairView)
from .views import CustomTokenRefreshView
from api.ForgetPassword.view import PasswordResetConfirmView
urlpatterns = [
path('token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
path('token/refresh/', CustomTokenRefreshView.as_view(), name='token_refresh'),
path('pass-reset/<str:temp_token>/', PasswordResetConfirmView.as_view(), name='pass-reset'),
]