src/Upwork/API/Client.php
public function auth()
    {
        ApiDebug::p('authing Client');

        $this->_server->option('mode', ApiConfig::get('mode'));
        $this->_server->option('sigMethod', ApiConfig::get('sigMethod'));

        // setup request tokens for web-based app
        // they must be already obrained on the first step
        if (ApiConfig::get('mode') === 'web') {
            $rToken     = ApiConfig::get('requestToken');
            $rSecret    = ApiConfig::get('requestSecret');
            $oVerifier  = ApiConfig::get('verifier');

            !$rToken 	|| $this->_server->option('requestToken', $rToken);
            !$rSecret	|| $this->_server->option('requestSecret', $rSecret);
            !$oVerifier || $this->_server->option('verifier', $oVerifier);
        }

        return $this->_server->auth();
    }
public function auth()
    {
        ApiDebug::p('authing Client');

        $this->_server->option('mode', ApiConfig::get('mode'));
        $this->_server->option('sigMethod', ApiConfig::get('sigMethod'));

        // setup request tokens for web-based app
        // they must be already obrained on the first step
        if (ApiConfig::get('mode') === 'web') {
            $rToken     = ApiConfig::get('requestToken');
            $rSecret    = ApiConfig::get('requestSecret');
            $oVerifier  = ApiConfig::get('verifier');

            !$rToken 	|| $this->_server->option('requestToken', $rToken);
            !$rSecret	|| $this->_server->option('requestSecret', $rSecret);
            !$oVerifier || $this->_server->option('verifier', $oVerifier);
        }

        return $this->_server->auth();
    }
Auth application

@access  public
@return  mixed