def _get_token_from_query_string(self, request, refresh_token):
if refresh_token:<EOL><INDENT>query_string_token_name_key = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>query_string_token_name_key = "<STR_LIT>"<EOL><DEDENT>query_string_token_name = getattr(<EOL>self.config, query_string_token_name_key<EOL>)<EOL>return request.args.get(query_string_token_name(), None)<EOL>
Extract the token if present from the request args.