micro_service_placeholder/microService/security/urls.py

11 lines
474 B
Python

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'),
]