// This method call must be signed.
parameters.add(new Parameter("api_sig", AuthUtilities.getSignature(sharedSecret, parameters)));
Response response = transportAPI.get(transportAPI.getPath(), parameters);
if (response.isError()) {
throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
}
Auth auth = new Auth();
Element authElement = response.getPayload();
auth.setToken(XMLUtilities.getChildValue(authElement, "token"));