protected function getParametersToSign(RequestInterface $request)
    {
        $params         = $this->getOAuthParameters($request);

        if ($request->getHeader('Content-Type') === 'application/x-www-form-urlencoded') {
            $params = array_merge($params, $this->getContentAsParameters($request));
        }

        return $params;
    }