nl.surfnet.coin.selfservice.service.impl
Class OAuthTokenServiceImpl
java.lang.Object
nl.surfnet.coin.selfservice.service.impl.OAuthTokenServiceImpl
- All Implemented Interfaces:
- OAuthTokenService
public class OAuthTokenServiceImpl
- extends Object
- implements OAuthTokenService
Implementation of OAuthTokenService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthTokenServiceImpl
public OAuthTokenServiceImpl()
getOAuthTokenInfoList
public List<OAuthTokenInfo> getOAuthTokenInfoList(String userId,
ServiceProvider serviceProvider)
- Description copied from interface:
OAuthTokenService
- Gets a List of
OAuthTokenInfo for a user
- Specified by:
getOAuthTokenInfoList in interface OAuthTokenService
- Parameters:
userId - unique identifier of a userserviceProvider - ServiceProvider which can be linked to the OAuth token
- Returns:
- List of OAuthTokenInfo, can be empty
revokeOAuthTokens
public void revokeOAuthTokens(String userId,
ServiceProvider serviceProvider)
- Description copied from interface:
OAuthTokenService
- Revokes an existing OAuthToken
- Specified by:
revokeOAuthTokens in interface OAuthTokenService
- Parameters:
userId - unique identifier of a userserviceProvider - ServiceProvider of which the tokens should be revoked
setoAuthTokenDaos
public void setoAuthTokenDaos(List<OAuthTokenDao> oAuthTokenDaos)
Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.