public class NXOAuthStore
extends org.apache.shindig.gadgets.oauth.BasicOAuthStore
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
protected String |
nxDefaultCallBackUrl |
protected org.apache.shindig.gadgets.oauth.BasicOAuthStoreConsumerKeyAndSecret |
nxDefaultKey |
| 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) |
protected static final org.apache.commons.logging.Log log
protected String nxDefaultCallBackUrl
protected org.apache.shindig.gadgets.oauth.BasicOAuthStoreConsumerKeyAndSecret nxDefaultKey
public void setDefaultKey(org.apache.shindig.gadgets.oauth.BasicOAuthStoreConsumerKeyAndSecret defaultKey)
setDefaultKey in class org.apache.shindig.gadgets.oauth.BasicOAuthStorepublic void setDefaultCallbackUrl(String defaultCallbackUrl)
setDefaultCallbackUrl in class org.apache.shindig.gadgets.oauth.BasicOAuthStorepublic 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.OAuthStoregetConsumerKeyAndSecret in class org.apache.shindig.gadgets.oauth.BasicOAuthStoreorg.apache.shindig.gadgets.GadgetExceptionpublic 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.OAuthStoregetTokenInfo in class org.apache.shindig.gadgets.oauth.BasicOAuthStorepublic 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.OAuthStoresetTokenInfo in class org.apache.shindig.gadgets.oauth.BasicOAuthStorepublic 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.OAuthStoreremoveToken in class org.apache.shindig.gadgets.oauth.BasicOAuthStoreCopyright © 2019 Nuxeo SA. All rights reserved.