public class OpenConextOAuthClientMock extends Object implements nl.surfnet.coin.api.client.OpenConextOAuthClient
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenConextOAuthClientMock.Users |
| Constructor and Description |
|---|
OpenConextOAuthClientMock() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorizationUrl() |
nl.surfnet.coin.api.client.domain.Group20 |
getGroup20(String userId,
String groupId,
String onBehalfOf) |
List<nl.surfnet.coin.api.client.domain.Person> |
getGroupMembers(String groupId,
String onBehalfOf) |
List<nl.surfnet.coin.api.client.domain.Group> |
getGroups(String userId,
String onBehalfOf) |
List<nl.surfnet.coin.api.client.domain.Group20> |
getGroups20(String userId,
String onBehalfOf) |
nl.surfnet.coin.api.client.domain.Person |
getPerson(String userId,
String onBehalfOf) |
boolean |
isAccessTokenGranted(String userId) |
void |
oauthCallback(javax.servlet.http.HttpServletRequest request,
String onBehalfOf) |
void |
setAdminDistributionTeam(String adminDistributionTeam) |
void |
setAdminLicentieIdPTeam(String adminLicentieIdPTeam) |
void |
setAdminSurfConextIdPTeam(String adminSurfConextIdPTeam) |
public boolean isAccessTokenGranted(String userId)
isAccessTokenGranted in interface nl.surfnet.coin.api.client.OpenConextOAuthClientpublic String getAuthorizationUrl()
getAuthorizationUrl in interface nl.surfnet.coin.api.client.OpenConextOAuthClientpublic void oauthCallback(javax.servlet.http.HttpServletRequest request,
String onBehalfOf)
oauthCallback in interface nl.surfnet.coin.api.client.OpenConextOAuthClientpublic nl.surfnet.coin.api.client.domain.Person getPerson(String userId, String onBehalfOf)
getPerson in interface nl.surfnet.coin.api.client.OpenConextOAuthClientpublic List<nl.surfnet.coin.api.client.domain.Person> getGroupMembers(String groupId, String onBehalfOf)
getGroupMembers in interface nl.surfnet.coin.api.client.OpenConextOAuthClientpublic List<nl.surfnet.coin.api.client.domain.Group> getGroups(String userId, String onBehalfOf)
getGroups in interface nl.surfnet.coin.api.client.OpenConextOAuthClientpublic List<nl.surfnet.coin.api.client.domain.Group20> getGroups20(String userId, String onBehalfOf)
getGroups20 in interface nl.surfnet.coin.api.client.OpenConextOAuthClientpublic nl.surfnet.coin.api.client.domain.Group20 getGroup20(String userId, String groupId, String onBehalfOf)
getGroup20 in interface nl.surfnet.coin.api.client.OpenConextOAuthClientpublic void setAdminLicentieIdPTeam(String adminLicentieIdPTeam)
public void setAdminSurfConextIdPTeam(String adminSurfConextIdPTeam)
public void setAdminDistributionTeam(String adminDistributionTeam)
Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.