org.exoplatform.social.opensocial.oauth
Class ExoOAuthDataStore
java.lang.Object
org.exoplatform.social.opensocial.oauth.ExoOAuthDataStore
- All Implemented Interfaces:
- org.apache.shindig.social.opensocial.oauth.OAuthDataStore
public class ExoOAuthDataStore
- extends Object
- implements org.apache.shindig.social.opensocial.oauth.OAuthDataStore
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExoOAuthDataStore
@Inject
public ExoOAuthDataStore(ExoPeopleService peopleService,
ExoActivityService activityService,
String baseUrl)
getEntry
public org.apache.shindig.social.opensocial.oauth.OAuthEntry getEntry(String oauthToken)
- Specified by:
getEntry in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
getConsumer
public net.oauth.OAuthConsumer getConsumer(String consumerKey)
- Specified by:
getConsumer in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
generateRequestToken
public org.apache.shindig.social.opensocial.oauth.OAuthEntry generateRequestToken(String consumerKey,
String oauthVersion,
String signedCallbackUrl)
- Specified by:
generateRequestToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
convertToAccessToken
public org.apache.shindig.social.opensocial.oauth.OAuthEntry convertToAccessToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry)
- Specified by:
convertToAccessToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
authorizeToken
public void authorizeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry,
String userId)
- Specified by:
authorizeToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
disableToken
public void disableToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry)
- Specified by:
disableToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
removeToken
public void removeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry)
- Specified by:
removeToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
getSecurityTokenForConsumerRequest
public org.apache.shindig.auth.SecurityToken getSecurityTokenForConsumerRequest(String consumerKey,
String userId)
- Specified by:
getSecurityTokenForConsumerRequest in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
getProviderStore
public ServiceProviderStore getProviderStore()
setProviderStore
public void setProviderStore(ServiceProviderStore secretProvider)
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.