- All Implemented Interfaces:
- org.apache.shindig.gadgets.oauth2.persistence.OAuth2Cache
public class CheatingMapCache
extends org.apache.shindig.gadgets.oauth2.persistence.sample.InMemoryCache
An InMemoryCache that "cheats" and returns static OAuth2Client values. It will ignore
gadget URIs and only utilize the service name when returning client keys. This is done because in
the OpenSocial Explorer, a gadget URL will change because it contains a hash.
FIXME: Implement a real mechanism to handle dynamic gadget URIs