sanic_jwt/authentication.py
def _get_token_from_query_string(self, request, refresh_token):
        """
        Extract the token if present from the request args.
        """
        if refresh_token:
            query_string_token_name_key = "query_string_refresh_token_name"
        else:
            query_string_token_name_key = "query_string_access_token_name"
        query_string_token_name = getattr(
            self.config, query_string_token_name_key
        )
        return request.args.get(query_string_token_name(), None)

        Extract the token if present from the request args.
        
Extract the token if present from the request args.
Extract the token if present from the request args .
def _get_token_from_query_string(self, request, refresh_token):
        if refresh_token:
            query_string_token_name_key = "query_string_refresh_token_name"
        else:
            query_string_token_name_key = "query_string_access_token_name"
        query_string_token_name = getattr(
            self.config, query_string_token_name_key
        )
        return request.args.get(query_string_token_name(), None)
def _get_token_from_query_string ( self , request , refresh_token ) : if refresh_token : query_string_token_name_key = "query_string_refresh_token_name" else : query_string_token_name_key = "query_string_access_token_name" query_string_token_name = getattr ( self . config , query_string_token_name_key ) return request . args . get ( query_string_token_name ( ) , None )
Extract the token if present from the request args.
Extract the token if present from the request args .
"""
        Extract the token if present from the request args.
        """
self
request
refresh_token