smsUrl = new URL(_baseOAuthUrl, "authorize/with_credentials/sms_token");
} catch (MalformedURLException ex) {
throw new AssertionError(ex);
}
OAuthCodeRequest request = new OAuthCodeRequest();
request.setClientId(clientId);
request.setClientSecret(clientSecret);
request.setUsername(email);
request.setPassword(password);
post(smsUrl, request, Response.class);
}