original_string: public function httpPassword(Event $event)
      {
          $event['request']->setHeader('Authorization', sprintf('Basic %s', base64_encode($this->auth['username'] . ':' . $this->auth['password'])));
      }
code: public function httpPassword(Event $event)
      {
          $event['request']->setHeader('Authorization', sprintf('Basic %s', base64_encode($this->auth['username'] . ':' . $this->auth['password'])));
      }
code_tokens: public function httpPassword ( Event $ event ) { $ event [ 'request' ] -> setHeader ( 'Authorization' , sprintf ( 'Basic %s' , base64_encode ( $ this -> auth [ 'username' ] . ':' . $ this -> auth [ 'password' ] ) ) ) ; }
docstring: Basic Authorization with username and password
docstring_tokens: Basic Authorization with username and password