final InfusionsoftOauthAuthenticator auth = new InfusionsoftOauthAuthenticator();
// use this token as "API Key" in XMLRPC calls AND ?auth_token=<> URL parameter
final InfusionsoftOauthToken token = auth.authorize2(parseAuthority, DietSodaUtils.MASHERY_CLIENT_ID, DietSodaUtils.MASHERY_CLIENT_SECRET, timeoutSeconds);
if(token == null || token.getToken() == null){
System.err.println("Did not get a token");
} else {
System.out.println("Got a auth token: " + token.getToken().substring(0, 5) + "...");
final YailProfile profile = YailProfile.usingOAuth2Token(token);
final YailClient client = profile.getClient();
queryContact(client);
}