public String generate(ClientTokenRequest request) {
NodeWrapper response = null;
verifyOptions(request);
response = http.post("/client_token", request);
String token = response.findString("value");
if (token != null) {
token = StringUtils.unescapeUtf8(token);
}
return token;
}