org.nuxeo.opensocial.shindig.oauth
Class NXGadgetOAuthTokenStore
java.lang.Object
org.apache.shindig.gadgets.oauth.GadgetOAuthTokenStore
org.nuxeo.opensocial.shindig.oauth.NXGadgetOAuthTokenStore
public class NXGadgetOAuthTokenStore
- extends org.apache.shindig.gadgets.oauth.GadgetOAuthTokenStore
Override the default GadgetOAuthTokenStore to add management for Shindig to
Nuxeo local communication.
Basically if no OAuth config was found for a local request, we use the shared
key between Shindig and Nuxeo to do Sign Fetch
- Author:
- tiry
Constructor Summary |
NXGadgetOAuthTokenStore(org.apache.shindig.gadgets.oauth.OAuthStore store,
org.apache.shindig.gadgets.GadgetSpecFactory specFactory)
|
Method Summary |
org.apache.shindig.gadgets.oauth.AccessorInfo |
getOAuthAccessor(org.apache.shindig.auth.SecurityToken securityToken,
org.apache.shindig.gadgets.oauth.OAuthArguments arguments,
org.apache.shindig.gadgets.oauth.OAuthClientState clientState,
org.apache.shindig.gadgets.oauth.OAuthResponseParams responseParams,
org.apache.shindig.gadgets.oauth.OAuthFetcherConfig fetcherConfig)
|
Methods inherited from class org.apache.shindig.gadgets.oauth.GadgetOAuthTokenStore |
removeToken, storeTokenKeyAndSecret |
NXGadgetOAuthTokenStore
@Inject
public NXGadgetOAuthTokenStore(org.apache.shindig.gadgets.oauth.OAuthStore store,
org.apache.shindig.gadgets.GadgetSpecFactory specFactory)
getOAuthAccessor
public org.apache.shindig.gadgets.oauth.AccessorInfo getOAuthAccessor(org.apache.shindig.auth.SecurityToken securityToken,
org.apache.shindig.gadgets.oauth.OAuthArguments arguments,
org.apache.shindig.gadgets.oauth.OAuthClientState clientState,
org.apache.shindig.gadgets.oauth.OAuthResponseParams responseParams,
org.apache.shindig.gadgets.oauth.OAuthFetcherConfig fetcherConfig)
throws org.apache.shindig.gadgets.oauth.OAuthResponseParams.OAuthRequestException
- Overrides:
getOAuthAccessor
in class org.apache.shindig.gadgets.oauth.GadgetOAuthTokenStore
- Throws:
org.apache.shindig.gadgets.oauth.OAuthResponseParams.OAuthRequestException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.