    def extract_oauth_params(self):
        """extract oauthlib params from a request

        Returns:

        (uri, http_method, body, headers)
        """
        return (
            self.request.uri,
            self.request.method,
            self.request.body,
            self.request.headers,
        )
extract oauthlib params from a request

Returns:

(uri, http_method, body, headers)
jupyterhub/apihandlers/auth.py