Package io.camunda.identity.sdk.users
Interface Users
- All Known Implementing Classes:
UsersImpl
public interface Users
The Users class provides functionality to retrieve the users stored
in the Camunda Identity instance.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Userscreate(IdentityConfiguration configuration, Authentication authentication) Factory function to create a new users instanceReturns the list of users which match the userIds passed in.booleanReturns a true/false indicating if the search is available or not.Returns the list of users which match the search string passed in.Returns the list of users which match the search string passed in, found on the page requested.Returns the list of users which match the search string passed in, found on the page requested with the maximum number of results defined by result size.withAccessToken(String accessToken) All calls performed with the returned Users instance will be made using given access token
-
Method Details
-
withAccessToken
All calls performed with the returned Users instance will be made using given access token- Parameters:
accessToken- access token- Returns:
- Users instance
-
search
Returns the list of users which match the search string passed in.- Parameters:
search- the search string- Returns:
- the list of users
-
search
Returns the list of users which match the search string passed in, found on the page requested.- Parameters:
search- the search stringpage- the page of results- Returns:
- the list of users
-
search
Returns the list of users which match the search string passed in, found on the page requested with the maximum number of results defined by result size.- Parameters:
search- the search stringpage- the page of resultsresultSize- the amount of results per page- Returns:
- the list of users
-
get
Returns the list of users which match the userIds passed in.- Parameters:
userIds- the userIds- Returns:
- the list of users
-
isAvailable
boolean isAvailable()Returns a true/false indicating if the search is available or not.- Returns:
- the availability of search
-
create
Factory function to create a new users instance- Parameters:
configuration- Identity configurationauthentication- Identity Authentication- Returns:
- Users instance
-