// Create the AuthRequest object
ret = getConsumerManager().authenticate(discoveryInformation, returnToUrl);
final FetchRequest fetch = FetchRequest.createFetchRequest();
if (endpoint.startsWith(GOOGLE_ENDPOINT)) {
fetch.addAttribute("email", "http://axschema.org/contact/email", true);
fetch.addAttribute("FirstName", "http://axschema.org/namePerson/first", true);
fetch.addAttribute("LastName", "http://axschema.org/namePerson/last", true);
} else if (endpoint.startsWith(YAHOO_ENDPOINT)) {
fetch.addAttribute("email", "http://axschema.org/contact/email", true);
fetch.addAttribute("Fullname", "http://axschema.org/namePerson", true);