src/sb/REST/Client.php
public function setAuthentication($uname = '', $pass = '', $type = 'basic')
    {
        $this->authentication['uname'] = $uname;
        $this->authentication['pass'] = $pass;
        $this->authentication['type'] = $type;
    }
public function setAuthentication($uname = '', $pass = '', $type = 'basic')
    {
        $this->authentication['uname'] = $uname;
        $this->authentication['pass'] = $pass;
        $this->authentication['type'] = $type;
    }
public function setAuthentication ( $ uname = '' , $ pass = '' , $ type = 'basic' ) { $ this -> authentication [ 'uname' ] = $ uname ; $ this -> authentication [ 'pass' ] = $ pass ; $ this -> authentication [ 'type' ] = $ type ; }
Sets the authentication type used
@param string $uname The username
@param string $pass The password
@param string $type The auth type basic, ntlm, digest
Sets the authentication type used