zhongrj
2025-11-25 b306e3f1227cc3e053b86d23e18233f52454ce40
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')