gateway_placeholder/gateway/security/views.py

5 lines
214 B
Python

from rest_framework_simplejwt.views import TokenRefreshView
from .serializers import CustomTokenRefreshSerializer
class CustomTokenRefreshView(TokenRefreshView):
serializer_class = CustomTokenRefreshSerializer