OAuthSimple::_getApiKey PHP Method

_getApiKey() private method

private _getApiKey ( )
    private function _getApiKey()
    {
        if (empty($this->_secrets['consumer_key'])) {
            throw new OAuthSimpleException('No consumer_key set for OAuthSimple');
        }
        $this->_parameters['oauth_consumer_key'] = $this->_secrets['consumer_key'];
        return $this->_parameters['oauth_consumer_key'];
    }