com.silverpeas.socialnetwork.connectors
Class LinkedInConnector
java.lang.Object
com.silverpeas.socialnetwork.connectors.AbstractSocialNetworkConnector
com.silverpeas.socialnetwork.connectors.LinkedInConnector
- All Implemented Interfaces:
- SocialNetworkConnector
@Named(value="linkedInConnector")
public class LinkedInConnector
- extends AbstractSocialNetworkConnector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkedInConnector
public LinkedInConnector()
buildAuthenticateUrl
public String buildAuthenticateUrl(String callBackURL)
- Description copied from interface:
SocialNetworkConnector
- Build URL to call for authentication over social network
- Specified by:
buildAuthenticateUrl
in interface SocialNetworkConnector
- Specified by:
buildAuthenticateUrl
in class AbstractSocialNetworkConnector
- Parameters:
callBackURL
- the URL to call to after authentication
- Returns:
- authentication URL as String
exchangeForAccessToken
public AccessToken exchangeForAccessToken(javax.servlet.http.HttpServletRequest request,
String callBackURL)
- Specified by:
exchangeForAccessToken
in interface SocialNetworkConnector
- Specified by:
exchangeForAccessToken
in class AbstractSocialNetworkConnector
getUserProfile
public org.springframework.social.connect.UserProfile getUserProfile(AccessToken authorizationToken)
- Specified by:
getUserProfile
in interface SocialNetworkConnector
- Specified by:
getUserProfile
in class AbstractSocialNetworkConnector
getUserProfileId
public String getUserProfileId(AccessToken authorizationToken)
- Specified by:
getUserProfileId
in interface SocialNetworkConnector
- Specified by:
getUserProfileId
in class AbstractSocialNetworkConnector
updateStatus
public void updateStatus(AccessToken authorizationToken,
String status)
setJavascriptAttributes
public void setJavascriptAttributes(javax.servlet.http.HttpServletRequest request)
Copyright © 2016 Silverpeas. All Rights Reserved.