| Package | Description |
|---|---|
| org.apache.shindig.gadgets.oauth2 | |
| org.apache.shindig.gadgets.oauth2.persistence | |
| org.apache.shindig.gadgets.oauth2.persistence.sample |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Token.Type |
OAuth2Token.getType() |
static OAuth2Token.Type |
OAuth2Token.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2Token.Type[] |
OAuth2Token.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2Token |
OAuth2Store.getToken(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type)
Gets a token, if it exists, from the store.
|
OAuth2Token |
BasicOAuth2Store.getToken(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type) |
void |
OAuth2Token.setType(OAuth2Token.Type type)
Setter for type property
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2Token.Type |
OAuth2TokenPersistence.getType() |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Token |
OAuth2Persister.findToken(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type) |
OAuth2Token |
OAuth2Cache.getToken(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type)
Find an
OAuth2Token based on index |
OAuth2Token |
MapCache.getToken(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type) |
protected String |
MapCache.getTokenKey(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type) |
boolean |
OAuth2Persister.removeToken(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type)
Removes a token from the persistence layer.
|
void |
OAuth2TokenPersistence.setType(OAuth2Token.Type type) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Token |
JSONOAuth2Persister.findToken(String providerName,
String gadgetUri,
String user,
String scope,
OAuth2Token.Type type) |
protected String |
InMemoryCache.getTokenKey(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type) |
boolean |
JSONOAuth2Persister.removeToken(String providerName,
String gadgetUri,
String user,
String scope,
OAuth2Token.Type type) |
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.