Interface SocialNetworkConnector
-
- All Known Implementing Classes:
AbstractSocialNetworkConnector
,FacebookConnector
,LinkedInConnector
public interface SocialNetworkConnector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
buildAuthenticateUrl(String callBackURL)
Build URL to call for authentication over social networkAccessToken
exchangeForAccessToken(javax.servlet.http.HttpServletRequest request, String callBackURL)
org.springframework.social.connect.UserProfile
getUserProfile(AccessToken authorizationToken)
String
getUserProfileId(AccessToken authorizationToken)
void
setJavascriptAttributes(javax.servlet.http.HttpServletRequest request)
void
updateStatus(AccessToken authorizationToken, String status)
-
-
-
Method Detail
-
buildAuthenticateUrl
String buildAuthenticateUrl(String callBackURL)
Build URL to call for authentication over social network- Parameters:
callBackURL
- the URL to call to after authentication- Returns:
- authentication URL as String
-
exchangeForAccessToken
AccessToken exchangeForAccessToken(javax.servlet.http.HttpServletRequest request, String callBackURL) throws SocialNetworkAuthorizationException
-
getUserProfile
org.springframework.social.connect.UserProfile getUserProfile(AccessToken authorizationToken)
-
getUserProfileId
String getUserProfileId(AccessToken authorizationToken)
-
updateStatus
void updateStatus(AccessToken authorizationToken, String status)
-
setJavascriptAttributes
void setJavascriptAttributes(javax.servlet.http.HttpServletRequest request)
-
-