| 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 |
|---|---|
OAuth2Client |
BasicOAuth2Store.getClient(String gadgetUri,
String serviceName) |
OAuth2Client |
OAuth2Store.invalidateClient(OAuth2Client client)
Invalidate a cached client and force it to be reloaded from persistence.
|
OAuth2Client |
BasicOAuth2Store.invalidateClient(OAuth2Client client) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Client |
OAuth2Store.invalidateClient(OAuth2Client client)
Invalidate a cached client and force it to be reloaded from persistence.
|
OAuth2Client |
BasicOAuth2Store.invalidateClient(OAuth2Client client) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Client |
OAuth2Client.clone() |
OAuth2Client |
OAuth2Persister.findClient(String gadgetUri,
String serviceName)
Retrieves a client from the persistence layer.
|
OAuth2Client |
OAuth2Cache.getClient(String gadgetUri,
String serviceName)
Find an
OAuth2Client. |
OAuth2Client |
MapCache.getClient(String gadgetUri,
String serviceName) |
OAuth2Client |
OAuth2Cache.removeClient(OAuth2Client client)
Remove the given client;
|
OAuth2Client |
MapCache.removeClient(OAuth2Client client) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Map<String,OAuth2Client> |
MapCache.getClientMap() |
Set<OAuth2Client> |
OAuth2Persister.loadClients()
Load all the clients from the persistence layer.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
MapCache.getClientKey(OAuth2Client client) |
OAuth2Client |
OAuth2Cache.removeClient(OAuth2Client client)
Remove the given client;
|
OAuth2Client |
MapCache.removeClient(OAuth2Client client) |
void |
OAuth2Cache.storeClient(OAuth2Client client)
Stores the given client.
|
void |
MapCache.storeClient(OAuth2Client client) |
| Modifier and Type | Method and Description |
|---|---|
void |
OAuth2Cache.storeClients(Collection<OAuth2Client> clients)
Store all clients in the collection.
|
void |
MapCache.storeClients(Collection<OAuth2Client> clients) |
| Modifier and Type | Method and Description |
|---|---|
static OAuth2Client |
JSONOAuth2Persister.findClient(Integer index) |
OAuth2Client |
JSONOAuth2Persister.findClient(String providerName,
String gadgetUri) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,OAuth2Client> |
InMemoryCache.getClientMap() |
Set<OAuth2Client> |
JSONOAuth2Persister.loadClients() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
InMemoryCache.getClientKey(OAuth2Client client) |
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.