public class NXOAuthStore
extends org.apache.shindig.gadgets.oauth.BasicOAuthStore
Constructor and Description |
---|
NXOAuthStore() |
Modifier and Type | Method and Description |
---|---|
org.apache.shindig.gadgets.oauth.OAuthStore.ConsumerInfo |
getConsumerKeyAndSecret(org.apache.shindig.auth.SecurityToken securityToken,
String serviceName,
net.oauth.OAuthServiceProvider provider) |
org.apache.shindig.gadgets.oauth.OAuthStore.TokenInfo |
getTokenInfo(org.apache.shindig.auth.SecurityToken securityToken,
org.apache.shindig.gadgets.oauth.OAuthStore.ConsumerInfo consumerInfo,
String serviceName,
String tokenName) |
void |
removeToken(org.apache.shindig.auth.SecurityToken securityToken,
org.apache.shindig.gadgets.oauth.OAuthStore.ConsumerInfo consumerInfo,
String serviceName,
String tokenName) |
void |
setDefaultCallbackUrl(String defaultCallbackUrl) |
void |
setDefaultKey(org.apache.shindig.gadgets.oauth.BasicOAuthStoreConsumerKeyAndSecret defaultKey) |
void |
setTokenInfo(org.apache.shindig.auth.SecurityToken securityToken,
org.apache.shindig.gadgets.oauth.OAuthStore.ConsumerInfo consumerInfo,
String serviceName,
String tokenName,
org.apache.shindig.gadgets.oauth.OAuthStore.TokenInfo tokenInfo) |
public void setDefaultKey(org.apache.shindig.gadgets.oauth.BasicOAuthStoreConsumerKeyAndSecret defaultKey)
setDefaultKey
in class org.apache.shindig.gadgets.oauth.BasicOAuthStore
public void setDefaultCallbackUrl(String defaultCallbackUrl)
setDefaultCallbackUrl
in class org.apache.shindig.gadgets.oauth.BasicOAuthStore
public org.apache.shindig.gadgets.oauth.OAuthStore.ConsumerInfo getConsumerKeyAndSecret(org.apache.shindig.auth.SecurityToken securityToken, String serviceName, net.oauth.OAuthServiceProvider provider) throws org.apache.shindig.gadgets.GadgetException
getConsumerKeyAndSecret
in interface org.apache.shindig.gadgets.oauth.OAuthStore
getConsumerKeyAndSecret
in class org.apache.shindig.gadgets.oauth.BasicOAuthStore
org.apache.shindig.gadgets.GadgetException
public org.apache.shindig.gadgets.oauth.OAuthStore.TokenInfo getTokenInfo(org.apache.shindig.auth.SecurityToken securityToken, org.apache.shindig.gadgets.oauth.OAuthStore.ConsumerInfo consumerInfo, String serviceName, String tokenName)
getTokenInfo
in interface org.apache.shindig.gadgets.oauth.OAuthStore
getTokenInfo
in class org.apache.shindig.gadgets.oauth.BasicOAuthStore
public void setTokenInfo(org.apache.shindig.auth.SecurityToken securityToken, org.apache.shindig.gadgets.oauth.OAuthStore.ConsumerInfo consumerInfo, String serviceName, String tokenName, org.apache.shindig.gadgets.oauth.OAuthStore.TokenInfo tokenInfo)
setTokenInfo
in interface org.apache.shindig.gadgets.oauth.OAuthStore
setTokenInfo
in class org.apache.shindig.gadgets.oauth.BasicOAuthStore
public void removeToken(org.apache.shindig.auth.SecurityToken securityToken, org.apache.shindig.gadgets.oauth.OAuthStore.ConsumerInfo consumerInfo, String serviceName, String tokenName)
removeToken
in interface org.apache.shindig.gadgets.oauth.OAuthStore
removeToken
in class org.apache.shindig.gadgets.oauth.BasicOAuthStore
Copyright © 2013 Nuxeo SA. All Rights Reserved.