public function useBasicAuth($username=false, $password=false) {
        self::$useBasicAuth=($username!==false && $password!==false);
        self::$username=$username;
        self::$password=$password;
    }
public function useBasicAuth($username=false, $password=false) {
        self::$useBasicAuth=($username!==false && $password!==false);
        self::$username=$username;
        self::$password=$password;
    }
public function useBasicAuth ( $ username = false , $ password = false ) { self :: $ useBasicAuth = ( $ username !== false && $ password !== false ) ; self :: $ username = $ username ; self :: $ password = $ password ; }
Sets whether or not to include the Authorization header in GitHub API requests, both parameters are required to enable basic auth
@param {string} $username Github Username
@param {string} $password Github Password
Sets whether or not to include the Authorization header in GitHub API requests both parameters are required to enable basic auth