org.nuxeo.opensocial.shindig.oauth
Class NXOAuthDataStore
java.lang.Object
org.nuxeo.opensocial.shindig.oauth.NXOAuthDataStore
- All Implemented Interfaces:
- org.apache.shindig.social.opensocial.oauth.OAuthDataStore
public class NXOAuthDataStore
- extends java.lang.Object
- implements org.apache.shindig.social.opensocial.oauth.OAuthDataStore
Method Summary |
void |
authorizeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry arg0,
java.lang.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(java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2)
|
net.oauth.OAuthConsumer |
getConsumer(java.lang.String arg0)
|
org.apache.shindig.social.opensocial.oauth.OAuthEntry |
getEntry(java.lang.String arg0)
|
org.apache.shindig.auth.SecurityToken |
getSecurityTokenForConsumerRequest(java.lang.String arg0,
java.lang.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 |
NXOAuthDataStore
public NXOAuthDataStore()
authorizeToken
public void authorizeToken(org.apache.shindig.social.opensocial.oauth.OAuthEntry arg0,
java.lang.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(java.lang.String arg0,
java.lang.String arg1,
java.lang.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(java.lang.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(java.lang.String arg0)
- Specified by:
getEntry
in interface org.apache.shindig.social.opensocial.oauth.OAuthDataStore
getSecurityTokenForConsumerRequest
public org.apache.shindig.auth.SecurityToken getSecurityTokenForConsumerRequest(java.lang.String arg0,
java.lang.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
Copyright © 2010 Nuxeo SAS. All Rights Reserved.