public class ExoOAuthDataStore extends Object implements org.apache.shindig.social.opensocial.oauth.OAuthDataStore
| Constructor and Description |
|---|
ExoOAuthDataStore(ExoPeopleService peopleService,
ExoActivityService activityService,
String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
authorizeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry,
String userId) |
org.apache.shindig.social.opensocial.oauth.OAuthEntry |
convertToAccessToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry) |
void |
disableToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry) |
org.apache.shindig.social.opensocial.oauth.OAuthEntry |
generateRequestToken(String consumerKey,
String oauthVersion,
String signedCallbackUrl) |
net.oauth.OAuthConsumer |
getConsumer(String consumerKey) |
org.apache.shindig.social.opensocial.oauth.OAuthEntry |
getEntry(String oauthToken) |
ServiceProviderStore |
getProviderStore() |
org.apache.shindig.auth.SecurityToken |
getSecurityTokenForConsumerRequest(String consumerKey,
String userId) |
void |
removeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry) |
void |
setProviderStore(ServiceProviderStore secretProvider) |
@Inject public ExoOAuthDataStore(ExoPeopleService peopleService, ExoActivityService activityService, String baseUrl)
public org.apache.shindig.social.opensocial.oauth.OAuthEntry getEntry(String oauthToken)
getEntry in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStorepublic net.oauth.OAuthConsumer getConsumer(String consumerKey)
getConsumer in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStorepublic org.apache.shindig.social.opensocial.oauth.OAuthEntry generateRequestToken(String consumerKey, String oauthVersion, String signedCallbackUrl)
generateRequestToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStorepublic org.apache.shindig.social.opensocial.oauth.OAuthEntry convertToAccessToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry)
convertToAccessToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStorepublic void authorizeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry,
String userId)
authorizeToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStorepublic void disableToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry)
disableToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStorepublic void removeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry entry)
removeToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStorepublic org.apache.shindig.auth.SecurityToken getSecurityTokenForConsumerRequest(String consumerKey, String userId)
getSecurityTokenForConsumerRequest in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStorepublic ServiceProviderStore getProviderStore()
public void setProviderStore(ServiceProviderStore secretProvider)
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.