src/Request/LushRequest.php
protected function handleAuthentication()
    {
        if (isset($this->payload['options']['username'], $this->payload['options']['password'])) {
            $this->addCurlOption(CURLOPT_USERPWD, sprintf('%s:%s', $this->payload['options']['username'], $this->payload['options']['password']));
        }
    }
protected function handleAuthentication()
    {
        if (isset($this->payload['options']['username'], $this->payload['options']['password'])) {
            $this->addCurlOption(CURLOPT_USERPWD, sprintf('%s:%s', $this->payload['options']['username'], $this->payload['options']['password']));
        }
    }
protected function handleAuthentication ( ) { if ( isset ( $ this -> payload [ 'options' ] [ 'username' ] , $ this -> payload [ 'options' ] [ 'password' ] ) ) { $ this -> addCurlOption ( CURLOPT_USERPWD , sprintf ( '%s:%s' , $ this -> payload [ 'options' ] [ 'username' ] , $ this -> payload [ 'options' ] [ 'password' ] ) ) ; } }
Handle authentication.
Handle authentication .