Change setTokenFromRequest signature to add response block to analyze data response.