lib/Shipmile/HttpClient/AuthHandler.php
public function httpPassword(Event $event)
    {
        $event['request']->setHeader('Authorization', sprintf('Basic %s', base64_encode($this->auth['username'] . ':' . $this->auth['password'])));
    }
public function httpPassword(Event $event)
    {
        $event['request']->setHeader('Authorization', sprintf('Basic %s', base64_encode($this->auth['username'] . ':' . $this->auth['password'])));
    }
public function httpPassword ( Event $ event ) { $ event [ 'request' ] -> setHeader ( 'Authorization' , sprintf ( 'Basic %s' , base64_encode ( $ this -> auth [ 'username' ] . ':' . $ this -> auth [ 'password' ] ) ) ) ; }
Basic Authorization with username and password
Basic Authorization with username and password