Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.shindig.oauth
Class NXOAuthDataStore

java.lang.Object
  extended by org.nuxeo.opensocial.shindig.oauth.NXOAuthDataStore
All Implemented Interfaces:
org.apache.shindig.social.opensocial.oauth.OAuthDataStore

public class NXOAuthDataStore
extends Object
implements org.apache.shindig.social.opensocial.oauth.OAuthDataStore


Constructor Summary
NXOAuthDataStore()
           
 
Method Summary
 void authorizeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry arg0, String arg1)
           
 org.apache.shindig.social.opensocial.oauth.OAuthEntry convertToAccessToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry arg0)
           
 void disableToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry arg0)
           
 org.apache.shindig.social.opensocial.oauth.OAuthEntry generateRequestToken(String arg0, String arg1, String arg2)
           
 net.oauth.OAuthConsumer getConsumer(String arg0)
           
 org.apache.shindig.social.opensocial.oauth.OAuthEntry getEntry(String arg0)
           
 org.apache.shindig.auth.SecurityToken getSecurityTokenForConsumerRequest(String arg0, String arg1)
           
 void removeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry arg0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NXOAuthDataStore

public NXOAuthDataStore()
Method Detail

authorizeToken

public void authorizeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry arg0,
                           String arg1)
                    throws net.oauth.OAuthProblemException
Specified by:
authorizeToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
Throws:
net.oauth.OAuthProblemException

convertToAccessToken

public org.apache.shindig.social.opensocial.oauth.OAuthEntry convertToAccessToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry arg0)
                                                                           throws net.oauth.OAuthProblemException
Specified by:
convertToAccessToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
Throws:
net.oauth.OAuthProblemException

disableToken

public void disableToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry arg0)
Specified by:
disableToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore

generateRequestToken

public org.apache.shindig.social.opensocial.oauth.OAuthEntry generateRequestToken(String arg0,
                                                                                  String arg1,
                                                                                  String arg2)
                                                                           throws net.oauth.OAuthProblemException
Specified by:
generateRequestToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
Throws:
net.oauth.OAuthProblemException

getConsumer

public net.oauth.OAuthConsumer getConsumer(String arg0)
                                    throws net.oauth.OAuthProblemException
Specified by:
getConsumer in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
Throws:
net.oauth.OAuthProblemException

getEntry

public org.apache.shindig.social.opensocial.oauth.OAuthEntry getEntry(String arg0)
Specified by:
getEntry in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore

getSecurityTokenForConsumerRequest

public org.apache.shindig.auth.SecurityToken getSecurityTokenForConsumerRequest(String arg0,
                                                                                String arg1)
                                                                         throws net.oauth.OAuthProblemException
Specified by:
getSecurityTokenForConsumerRequest in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
Throws:
net.oauth.OAuthProblemException

removeToken

public void removeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry arg0)
Specified by:
removeToken in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.