com.google.api.client.extensions.jdo.auth.oauth2
Class JdoCredentialStore
java.lang.Object
com.google.api.client.extensions.jdo.auth.oauth2.JdoCredentialStore
- All Implemented Interfaces:
- CredentialStore
public class JdoCredentialStore
- extends Object
- implements CredentialStore
Thread-safe JDO implementation of a credential store.
- Since:
- 1.7
- Author:
- Yaniv Inbar
|
Constructor Summary |
JdoCredentialStore(javax.jdo.PersistenceManagerFactory persistenceManagerFactory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdoCredentialStore
public JdoCredentialStore(javax.jdo.PersistenceManagerFactory persistenceManagerFactory)
- Parameters:
persistenceManagerFactory - persistence manager factory
store
public void store(String userId,
Credential credential)
- Specified by:
store in interface CredentialStore
delete
public void delete(String userId,
Credential credential)
- Specified by:
delete in interface CredentialStore
load
public boolean load(String userId,
Credential credential)
- Specified by:
load in interface CredentialStore
Copyright © 2011-2012 Google. All Rights Reserved.