Package com.google.feedserver.samples.config

Examples of com.google.feedserver.samples.config.HashMapBasedUserInfo


    oauthParams.put(UserInfoProperties.OWNER_ID,
        urlDecode(message.getParameter("opensocial_owner_id")));
    oauthParams.put(UserInfoProperties.APPLICATION_ID, message.getParameter("opensocial_app_id"));
    oauthParams.put(UserInfoProperties.APPLICATION_URL, message.getParameter("opensocial_app_url"));

    UserInfo userInfo = new HashMapBasedUserInfo(oauthParams);
    request.setAttribute(AbstractManagedCollectionAdapter.USER_INFO, userInfo);

    return message.getParameter("opensocial_viewer_id");
  }
View Full Code Here


        urlDecode(message.getParameter("opensocial_owner_email")));
    oauthParams.put(UserInfoProperties.OWNER_ID, message.getParameter("opensocial_owner_id"));
    oauthParams.put(UserInfoProperties.APPLICATION_ID, message.getParameter("opensocial_app_id"));
    oauthParams.put(UserInfoProperties.APPLICATION_URL, message.getParameter("opensocial_app_url"));

    UserInfo userInfo = new HashMapBasedUserInfo(oauthParams);
    request.setAttribute(AbstractManagedCollectionAdapter.USER_INFO, userInfo);

    logger.info("signed fetch verified: " + viewerEmail);
    return message.getParameter("opensocial_viewer_id");
  }
View Full Code Here

TOP

Related Classes of com.google.feedserver.samples.config.HashMapBasedUserInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.