| Package | Description |
|---|---|
| org.apache.shindig.gadgets.oauth2.persistence | |
| org.apache.shindig.gadgets.oauth2.persistence.sample |
| Modifier and Type | Class and Description |
|---|---|
class |
OAuth2CacheException
Subclass of
OAuth2PersistenceException for caching issues. |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Client |
OAuth2Persister.findClient(String gadgetUri,
String serviceName)
Retrieves a client from the persistence layer.
|
OAuth2Token |
OAuth2Persister.findToken(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type) |
void |
OAuth2Persister.insertToken(OAuth2Token token)
Inserts a new
OAuth2Token into the persistence layer. |
Set<OAuth2Client> |
OAuth2Persister.loadClients()
Load all the clients from the persistence layer.
|
Set<OAuth2Token> |
OAuth2Persister.loadTokens()
Load all the tokens from the persistence layer.
|
boolean |
OAuth2Persister.removeToken(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type)
Removes a token from the persistence layer.
|
void |
OAuth2Persister.updateToken(OAuth2Token token)
Updates an existing
OAuth2Token in the persistence layer. |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Client |
JSONOAuth2Persister.findClient(String providerName,
String gadgetUri) |
OAuth2Token |
JSONOAuth2Persister.findToken(String providerName,
String gadgetUri,
String user,
String scope,
OAuth2Token.Type type) |
Set<OAuth2Client> |
JSONOAuth2Persister.loadClients() |
protected Map<String,OAuth2GadgetBinding> |
JSONOAuth2Persister.loadGadgetBindings() |
protected Map<String,OAuth2Provider> |
JSONOAuth2Persister.loadProviders() |
Set<OAuth2Token> |
JSONOAuth2Persister.loadTokens() |
| Constructor and Description |
|---|
JSONOAuth2Persister(OAuth2Encrypter encrypter,
Authority authority,
String globalRedirectUri,
String contextRoot) |
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.