protected function processAuth()
    {
        if ($this->doQueryString) {
            $this->parameters['consumer_key']    = $this->consumerKey;
            $this->parameters['consumer_secret'] = $this->consumerSecret;
        } else {
            \curl_setopt($this->ch, CURLOPT_USERPWD, $this->consumerKey . ':' . $this->consumerSecret);
        }
    }
protected function processAuth()
    {
        if ($this->doQueryString) {
            $this->parameters['consumer_key']    = $this->consumerKey;
            $this->parameters['consumer_secret'] = $this->consumerSecret;
        } else {
            \curl_setopt($this->ch, CURLOPT_USERPWD, $this->consumerKey . ':' . $this->consumerSecret);
        }
    }
protected function processAuth ( ) { if ( $ this -> doQueryString ) { $ this -> parameters [ 'consumer_key' ] = $ this -> consumerKey ; $ this -> parameters [ 'consumer_secret' ] = $ this -> consumerSecret ; } else { \ curl_setopt ( $ this -> ch , CURLOPT_USERPWD , $ this -> consumerKey . ':' . $ this -> consumerSecret ) ; } }
Process auth.
Process auth .