protected function makeDataToSign($auth_header)
    {
        $query = '';
        if (isset($this->config['query']) && $this->config['query']) {
            $query .= '?';
            if (is_string($this->config['query'])) {
                $query .= $this->config['query'];
            } else {
                $query .= $this->buildQueryString($this->config['query']);
            }
        }

        $data = array(
            strtoupper($this->httpMethod),
            'https',
            $this->host,
            $this->path . $query,
            $this->canonicalizeHeaders(),
            (strtoupper($this->httpMethod) === 'POST') ? $this->makeContentHash() : '',
            $auth_header
        );

        return implode("\t", $data);
    }
protected function makeDataToSign($auth_header)
    {
        $query = '';
        if (isset($this->config['query']) && $this->config['query']) {
            $query .= '?';
            if (is_string($this->config['query'])) {
                $query .= $this->config['query'];
            } else {
                $query .= $this->buildQueryString($this->config['query']);
            }
        }

        $data = array(
            strtoupper($this->httpMethod),
            'https',
            $this->host,
            $this->path . $query,
            $this->canonicalizeHeaders(),
            (strtoupper($this->httpMethod) === 'POST') ? $this->makeContentHash() : '',
            $auth_header
        );

        return implode("\t", $data);
    }
protected function makeDataToSign ( $ auth_header ) { $ query = '' ; if ( isset ( $ this -> config [ 'query' ] ) && $ this -> config [ 'query' ] ) { $ query .= '?' ; if ( is_string ( $ this -> config [ 'query' ] ) ) { $ query .= $ this -> config [ 'query' ] ; } else { $ query .= $ this -> buildQueryString ( $ this -> config [ 'query' ] ) ; } } $ data = array ( strtoupper ( $ this -> httpMethod ) , 'https' , $ this -> host , $ this -> path . $ query , $ this -> canonicalizeHeaders ( ) , ( strtoupper ( $ this -> httpMethod ) === 'POST' ) ? $ this -> makeContentHash ( ) : '' , $ auth_header ) ; return implode ( "\t" , $ data ) ; }
Returns a string with all data that will be signed

@param string $auth_header
@return string
Returns a string with all data that will be signed