zhongrj
2025-11-24 07ab3cd14a4c75b7f196123eafbafaa5fadaefb0
1
2
3
4
5
6
from rest_framework_jwt.authentication import BaseJSONWebTokenAuthentication
 
 
class JSONWebTokenAuthenticationQS(BaseJSONWebTokenAuthentication):
    def get_jwt_value(self, request):
         return request.query_params.get('jwt')