org.apache.shindig.gadgets.oauth
Class OAuthFetcherConfig
java.lang.Object
org.apache.shindig.gadgets.oauth.OAuthFetcherConfig
public class OAuthFetcherConfig
- extends Object
Configuration parameters for an OAuthRequest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAUTH_STATE_CRYPTER
public static final String OAUTH_STATE_CRYPTER
- See Also:
- Constant Field Values
OAuthFetcherConfig
@Inject
public OAuthFetcherConfig(BlobCrypter stateCrypter,
GadgetOAuthTokenStore tokenStore,
TimeSource clock,
OAuthCallbackGenerator oauthCallbackGenerator,
boolean viewerAccessTokensEnabled)
getStateCrypter
public BlobCrypter getStateCrypter()
- Returns:
- A BlobCrypter Used to encrypt state stored on the client.
getTokenStore
public GadgetOAuthTokenStore getTokenStore()
- Returns:
- the persistent token storage.
getClock
public TimeSource getClock()
- Returns:
- the Clock
getOAuthCallbackGenerator
public OAuthCallbackGenerator getOAuthCallbackGenerator()
- Returns:
- callback Url generator
isViewerAccessTokensEnabled
public boolean isViewerAccessTokensEnabled()
- Returns:
- true if the owner pages do not allow user controlled javascript
Copyright © 2007-2012. All Rights Reserved.