public class OAuthTokenDaoShindigImpl extends Object implements OAuthTokenDao
| Constructor and Description |
|---|
OAuthTokenDaoShindigImpl(org.springframework.jdbc.core.JdbcTemplate shindigJdbcTemplate) |
| Modifier and Type | Method and Description |
|---|---|
List<OAuthTokenInfo> |
getOAuthTokens(String userId,
String spEntityId)
Gets a List of
OAuthTokenInfo for a user |
void |
revokeOAuthToken(OAuthTokenInfo oAuthTokenInfo)
Revokes an existing OAuthToken
|
public static final String SOURCE
public OAuthTokenDaoShindigImpl(org.springframework.jdbc.core.JdbcTemplate shindigJdbcTemplate)
public List<OAuthTokenInfo> getOAuthTokens(String userId, String spEntityId)
OAuthTokenDaoOAuthTokenInfo for a usergetOAuthTokens in interface OAuthTokenDaouserId - unique identifier of a userspEntityId - unique identifier of a ServiceProviderpublic void revokeOAuthToken(OAuthTokenInfo oAuthTokenInfo)
OAuthTokenDaorevokeOAuthToken in interface OAuthTokenDaooAuthTokenInfo - the OAuthTokenInfo to revokeCopyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.