src/Upwork/API/AuthTypes/OAuthPHPLib.php
protected function _getOAuthInstance($authType = null)
    {
        ApiDebug::p('get OAuth instance');

        $options = array(
            'consumer_key' => self::$_apiKey, 
            'consumer_secret' => self::$_secret,
            'server_uri' => UPWORK_BASE_URL,
            'request_token_uri' => ApiUtils::getFullUrl(self::URL_RTOKEN, 'api'),
            'authorize_uri' => self::URL_AUTH,
            'access_token_uri' => ApiUtils::getFullUrl(self::URL_ATOKEN, 'api')
        );
        
        $oauth = \OAuthStore::instance('Session', $options);

        return $oauth;
    }
protected function _getOAuthInstance($authType = null)
    {
        ApiDebug::p('get OAuth instance');

        $options = array(
            'consumer_key' => self::$_apiKey, 
            'consumer_secret' => self::$_secret,
            'server_uri' => UPWORK_BASE_URL,
            'request_token_uri' => ApiUtils::getFullUrl(self::URL_RTOKEN, 'api'),
            'authorize_uri' => self::URL_AUTH,
            'access_token_uri' => ApiUtils::getFullUrl(self::URL_ATOKEN, 'api')
        );
        
        $oauth = \OAuthStore::instance('Session', $options);

        return $oauth;
    }
Get OAuth instance

@param   integer $authType (Optional) Auth type
@access  protected
@return  object