src/Authentication.php
public function basic(string $username, string $password)
    {
        $this->type = self::BASIC;
        $this->username = $username;
        $this->password = $password;
    }
public function basic(string $username, string $password)
    {
        $this->type = self::BASIC;
        $this->username = $username;
        $this->password = $password;
    }
public function basic ( string $ username , string $ password ) { $ this -> type = self :: BASIC ; $ this -> username = $ username ; $ this -> password = $ password ; }
Basic HTTP authentication

@param string $username
@param string $password
Basic HTTP authentication