original_string: public function setAuthentication($uname = '', $pass = '', $type = 'basic')
      {
          $this->authentication['uname'] = $uname;
          $this->authentication['pass'] = $pass;
          $this->authentication['type'] = $type;
      }
code: public function setAuthentication($uname = '', $pass = '', $type = 'basic')
      {
          $this->authentication['uname'] = $uname;
          $this->authentication['pass'] = $pass;
          $this->authentication['type'] = $type;
      }
code_tokens: public function setAuthentication ( $ uname = '' , $ pass = '' , $ type = 'basic' ) { $ this -> authentication [ 'uname' ] = $ uname ; $ this -> authentication [ 'pass' ] = $ pass ; $ this -> authentication [ 'type' ] = $ type ; }
docstring: Sets the authentication type used
  @param string $uname The username
  @param string $pass The password
  @param string $type The auth type basic, ntlm, digest
docstring_tokens: Sets the authentication type used