Identity:
Identity Type:
Composite:
Username:
(what's this?) Password:

Query body:

Response body:

Parsed response:

Example code:
var client = new KSClient('http://localhost:8008/xmlquery/query',
	function(ksresponse) {
		var facts = ksresponse.getFacts();
		var combinations = ksresponse.getCombinations();
		var wanted_c = combinations[0];
	    var verdict = wanted_c.getValue();
		...
	}
);

var query = new KSQuery();
query.addIdentity(new Identity(type, text));
query.addComposite(name);
query.addUseragent("example index.html");
query.addAuth("myusername", "mypassword");
client.ask(query);
Javascript library