Package models.auth

Examples of models.auth.LinkedInOAuthAccount


    public OAuthAccount getUserAccount(String token, String secret) {

        final String url = getConfigString("userProfileJsonUrl");
        final Document dom = XML.getDocument(get(url, token, secret));

        LinkedInOAuthAccount account = new LinkedInOAuthAccount(token, secret);
        account.linkedInId = XML.getFirstNodeValue(dom, "id");
        account.firstname = XML.getFirstNodeValue(dom, "first-name");
        account.lastname = XML.getFirstNodeValue(dom, "last-name");
        account.headline = XML.getFirstNodeValue(dom, "headline");
        account.summary = XML.getFirstNodeValue(dom, "summary");
View Full Code Here

TOP

Related Classes of models.auth.LinkedInOAuthAccount

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.