/** * {@inheritDoc} */ protected function doGetUserInformationRequest($url, array $parameters = array()) { /* DISQUS requires api key and secret for user information requests */ $url = $this->normalizeUrl($url, array('api_key' => $this->options['client_id'], 'api_secret' => $this->options['client_secret'])); return parent::doGetUserInformationRequest($url, $parameters); }
/** * {@inheritDoc} */ protected function doGetUserInformationRequest($url, array $parameters = array()) { // LinkedIn uses different variable as they still support OAuth1.0a return parent::doGetUserInformationRequest(str_replace('access_token', 'oauth2_access_token', $url), $parameters); }
/** * {@inheritDoc} */ protected function doGetUserInformationRequest($url, array $parameters = array()) { // Twitch require to pass the OAuth token as 'oauth_token' instead of 'access_token' return parent::doGetUserInformationRequest(str_replace('access_token', 'oauth_token', $url), $parameters); }