protected function getAccessTokenOptions(array $params)
    {
        $options = parent::getAccessTokenOptions($params);
        $options['headers']['Authorization'] =
            'Basic '.base64_encode($this->clientId.':'.$this->clientSecret);

        return $options;
    }
protected function getAccessTokenOptions(array $params)
    {
        $options = parent::getAccessTokenOptions($params);
        $options['headers']['Authorization'] =
            'Basic '.base64_encode($this->clientId.':'.$this->clientSecret);

        return $options;
    }
protected function getAccessTokenOptions ( array $ params ) { $ options = parent :: getAccessTokenOptions ( $ params ) ; $ options [ 'headers' ] [ 'Authorization' ] = 'Basic ' . base64_encode ( $ this -> clientId . ':' . $ this -> clientSecret ) ; return $ options ; }
Builds request options used for requesting an access token.

@param array $params

@return array
Builds request options used for requesting an access token .