public class AzureAdRestClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COLLECTION_TYPE_FORMAT |
static String |
DELTA_QUERY_ENDPOINT_SUFFIX |
static String |
GRAPH_API_VERSION |
static String |
GRAPH_GROUPS_ENDPOINT_SUFFIX |
static String |
GRAPH_USERS_ENDPOINT_SUFFIX |
static String |
GROUP_SUFFIX |
static String |
MEMBER_OF_NAVIGATIONAL_PROPERTY |
static String |
MEMBERS_NAVIGATIONAL_PROPERTY |
static String |
METADATA_ENDPOINT_SUFFIX |
static String |
TRASH_ENDPOINT_SUFFIX |
static String |
USER_SUFFIX |
| Constructor and Description |
|---|
AzureAdRestClient(com.sun.jersey.api.client.Client client,
AzureApiUriResolver endpointDataProvider,
IoUtilsWrapper ioUtilsWrapper) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.jersey.api.client.Client |
getClient() |
GraphDirectoryObjectList |
getDirectChildrenOfGroup(String groupId,
ODataSelect select) |
GraphDirectoryObjectList |
getDirectParentsOfGroup(String groupId,
ODataSelect select) |
GraphDirectoryObjectList |
getDirectParentsOfUser(String nameOrExternalId,
ODataSelect select) |
String |
getGraphBaseResource() |
<T extends PageableGraphList> |
getNextPage(String nextLink,
Class<T> resultsClass) |
<T extends PageableGraphList> |
getNextPage(String nextLink,
Class<T> resultsClass,
ODataTop limit) |
<T> T |
handleRequest(Supplier<T> requestSupplier) |
GraphDeltaQueryGroupList |
performGroupsDeltaQuery(MicrosoftGraphQueryParam... parameters) |
GraphDeltaQueryUserList |
performUsersDeltaQuery(MicrosoftGraphQueryParam parameter) |
GraphGroupList |
searchGroups(GraphQuery query) |
GraphUsersList |
searchUsers(GraphQuery query) |
boolean |
supportsDeltaQuery() |
public static final String GRAPH_API_VERSION
public static final String GRAPH_USERS_ENDPOINT_SUFFIX
public static final String GRAPH_GROUPS_ENDPOINT_SUFFIX
public static final String METADATA_ENDPOINT_SUFFIX
public static final String MEMBER_OF_NAVIGATIONAL_PROPERTY
public static final String MEMBERS_NAVIGATIONAL_PROPERTY
public static final String DELTA_QUERY_ENDPOINT_SUFFIX
public static final String TRASH_ENDPOINT_SUFFIX
public static final String COLLECTION_TYPE_FORMAT
public static final String USER_SUFFIX
public static final String GROUP_SUFFIX
public AzureAdRestClient(com.sun.jersey.api.client.Client client,
AzureApiUriResolver endpointDataProvider,
IoUtilsWrapper ioUtilsWrapper)
public com.sun.jersey.api.client.Client getClient()
public GraphUsersList searchUsers(GraphQuery query) throws com.atlassian.crowd.exception.OperationFailedException
public GraphGroupList searchGroups(GraphQuery query) throws com.atlassian.crowd.exception.OperationFailedException
public GraphDirectoryObjectList getDirectParentsOfUser(String nameOrExternalId, ODataSelect select) throws com.atlassian.crowd.exception.OperationFailedException
public GraphDirectoryObjectList getDirectParentsOfGroup(String groupId, ODataSelect select) throws com.atlassian.crowd.exception.OperationFailedException
public GraphDirectoryObjectList getDirectChildrenOfGroup(String groupId, ODataSelect select) throws com.atlassian.crowd.exception.OperationFailedException
public GraphDeltaQueryUserList performUsersDeltaQuery(MicrosoftGraphQueryParam parameter) throws com.atlassian.crowd.exception.OperationFailedException
public GraphDeltaQueryGroupList performGroupsDeltaQuery(MicrosoftGraphQueryParam... parameters) throws com.atlassian.crowd.exception.OperationFailedException
public boolean supportsDeltaQuery()
public String getGraphBaseResource()
public <T extends PageableGraphList> T getNextPage(String nextLink, Class<T> resultsClass) throws com.atlassian.crowd.exception.OperationFailedException
public <T extends PageableGraphList> T getNextPage(String nextLink, Class<T> resultsClass, ODataTop limit) throws com.atlassian.crowd.exception.OperationFailedException
public <T> T handleRequest(Supplier<T> requestSupplier) throws com.atlassian.crowd.exception.OperationFailedException
Copyright © 2023 Atlassian. All rights reserved.