public function getOAuthHeader($uri, $queryParameters, $httpMethod){
      $this->sign($uri, $queryParameters, $httpMethod);
      foreach($this->oauthParameters as $k => $v){
           $this->oauthParameters[$k] = $k . '="' . rawurlencode($v) . '"';
      }
      return 'OAuth ' . implode(',', $this->oauthParameters);
  }
public function getOAuthHeader($uri, $queryParameters, $httpMethod){
      $this->sign($uri, $queryParameters, $httpMethod);
      foreach($this->oauthParameters as $k => $v){
           $this->oauthParameters[$k] = $k . '="' . rawurlencode($v) . '"';
      }
      return 'OAuth ' . implode(',', $this->oauthParameters);
  }
public function getOAuthHeader ( $ uri , $ queryParameters , $ httpMethod ) { $ this -> sign ( $ uri , $ queryParameters , $ httpMethod ) ; foreach ( $ this -> oauthParameters as $ k => $ v ) { $ this -> oauthParameters [ $ k ] = $ k . '="' . rawurlencode ( $ v ) . '"' ; } return 'OAuth ' . implode ( ',' , $ this -> oauthParameters ) ; }
Return the completed signed Authorization Header
@param String $uri              The complete URL contains everything
@param Array $queryParameters   The QueryParaemters for the request
@param String $httpMethod       The Http Method. POST or GET
@return String Authorization Header
Return the completed signed Authorization Header