docs: def get_authorization(self, request):
          """
          This function extracts the authorization JWT string. It first
          looks for specified key in header and then looks
          for the same in body part.
  
          Parameters
          ----------
          request: HttpRequest
              This is the raw request that user has sent.
  
          Returns
          -------
          auth: str
              Return request's 'JWT_AUTH_KEY:' content from body or
              Header, as a bytestring.
  
              Hide some test client ickyness where the header can be unicode.
          """
          from django.utils.six import text_type
          from rest_framework import HTTP_HEADER_ENCODING
  
          auth = request.data.get(self.key, b'') or request.META.get(
              self.header_key, b'')
  
          if isinstance(auth, text_type):
              # Work around django test client oddness
              auth = auth.encode(HTTP_HEADER_ENCODING)
          return auth