public interface OpenConextOAuthClient
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorizationUrl()
Get the authorization url
|
Group20 |
getGroup20(String userId,
String groupId,
String onBehalfOf)
Get group information about the given group, for the given user.
|
List<Person> |
getGroupMembers(String groupId,
String onBehalfOf)
Get the group members of the given group.
|
List<Group> |
getGroups(String userId,
String onBehalfOf)
Get Persons' Groups
|
List<Group20> |
getGroups20(String userId,
String onBehalfOf)
Get Persons' Groups
|
Person |
getPerson(String userId,
String onBehalfOf)
Get the OpenSocial Person.
|
boolean |
isAccessTokenGranted(String userId)
Is it possible to make OpenSocial requests for this user (as onBehalfOf).
|
void |
oauthCallback(javax.servlet.http.HttpServletRequest request,
String onBehalfOf)
Clients who have requested a redirect to the authorization URL will be
notified on the registered callback URL.
|
boolean isAccessTokenGranted(String userId)
userId - the unique identifierString getAuthorizationUrl()
void oauthCallback(javax.servlet.http.HttpServletRequest request,
String onBehalfOf)
request - the HTTP request for obtaining the request tokenonBehalfOf - the userId of the end userPerson getPerson(String userId, String onBehalfOf)
userId - the unique identifieronBehalfOf - the unique identifier of the user that is going to make the
requestPersonList<Person> getGroupMembers(String groupId, String onBehalfOf)
Group20 getGroup20(String userId, String groupId, String onBehalfOf)
userId - the userId that is a member of the given groupgroupId - the groupId of the grouponBehalfOf - id of the end user on whose behalf this call is done.Copyright © 2009–2014 SURFnet bv, The Netherlands. All rights reserved.