public class OAuthTokenServiceImpl extends Object implements OAuthTokenService
OAuthTokenService| Constructor and Description |
|---|
OAuthTokenServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<OAuthTokenInfo> |
getOAuthTokenInfoList(String userId,
ServiceProvider serviceProvider)
Gets a List of
OAuthTokenInfo for a user |
void |
revokeOAuthTokens(String userId,
ServiceProvider serviceProvider)
Revokes an existing OAuthToken
|
void |
setoAuthTokenDaos(List<OAuthTokenDao> oAuthTokenDaos) |
public List<OAuthTokenInfo> getOAuthTokenInfoList(String userId, ServiceProvider serviceProvider)
OAuthTokenServiceOAuthTokenInfo for a usergetOAuthTokenInfoList in interface OAuthTokenServiceuserId - unique identifier of a userserviceProvider - ServiceProvider which can be linked to the OAuth tokenpublic void revokeOAuthTokens(String userId, ServiceProvider serviceProvider)
OAuthTokenServicerevokeOAuthTokens in interface OAuthTokenServiceuserId - unique identifier of a userserviceProvider - ServiceProvider of which the tokens should be revokedpublic void setoAuthTokenDaos(List<OAuthTokenDao> oAuthTokenDaos)
Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.