nl.surfnet.coin.api.client
Class InMemoryOAuthRepositoryImpl
java.lang.Object
nl.surfnet.coin.api.client.InMemoryOAuthRepositoryImpl
- All Implemented Interfaces:
- OAuthRepository
public class InMemoryOAuthRepositoryImpl
- extends Object
- implements OAuthRepository
InMemory Repository for Tokens
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryOAuthRepositoryImpl
public InMemoryOAuthRepositoryImpl()
getToken
public OAuthToken getToken(String userId)
- Specified by:
getToken in interface OAuthRepository
storeToken
public void storeToken(org.scribe.model.Token accessToken,
String userId,
OAuthVersion version)
- Specified by:
storeToken in interface OAuthRepository
removeToken
public void removeToken(String onBehalfOf)
- Specified by:
removeToken in interface OAuthRepository
Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.