Package com.slack.api.scim.impl
Class SCIMClientImpl
- java.lang.Object
-
- com.slack.api.scim.impl.SCIMClientImpl
-
- All Implemented Interfaces:
SCIMClient
public class SCIMClientImpl extends Object implements SCIMClient
-
-
Field Summary
-
Fields inherited from interface com.slack.api.scim.SCIMClient
ENDPOINT_URL_PREFIX
-
-
Constructor Summary
Constructors Constructor Description SCIMClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache)SCIMClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache, String token)
-
Method Summary
-
-
-
Constructor Detail
-
SCIMClientImpl
public SCIMClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache)
-
SCIMClientImpl
public SCIMClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache, String token)
-
-
Method Detail
-
getEndpointUrlPrefix
public String getEndpointUrlPrefix()
- Specified by:
getEndpointUrlPrefixin interfaceSCIMClient
-
setEndpointUrlPrefix
public void setEndpointUrlPrefix(String endpointUrlPrefix)
- Specified by:
setEndpointUrlPrefixin interfaceSCIMClient
-
getServiceProviderConfigs
public ServiceProviderConfigsGetResponse getServiceProviderConfigs(ServiceProviderConfigsGetRequest req) throws IOException, SCIMApiException
- Specified by:
getServiceProviderConfigsin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
getServiceProviderConfigs
public ServiceProviderConfigsGetResponse getServiceProviderConfigs(RequestConfigurator<ServiceProviderConfigsGetRequest.ServiceProviderConfigsGetRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
getServiceProviderConfigsin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
searchUsers
public UsersSearchResponse searchUsers(UsersSearchRequest req) throws IOException, SCIMApiException
- Specified by:
searchUsersin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
searchUsers
public UsersSearchResponse searchUsers(RequestConfigurator<UsersSearchRequest.UsersSearchRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
searchUsersin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
readUser
public UsersReadResponse readUser(UsersReadRequest req) throws IOException, SCIMApiException
- Specified by:
readUserin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
readUser
public UsersReadResponse readUser(RequestConfigurator<UsersReadRequest.UsersReadRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
readUserin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
createUser
public UsersCreateResponse createUser(UsersCreateRequest req) throws IOException, SCIMApiException
- Specified by:
createUserin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
createUser
public UsersCreateResponse createUser(RequestConfigurator<UsersCreateRequest.UsersCreateRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
createUserin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
patchUser
public UsersPatchResponse patchUser(UsersPatchRequest req) throws IOException, SCIMApiException
- Specified by:
patchUserin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
patchUser
public UsersPatchResponse patchUser(RequestConfigurator<UsersPatchRequest.UsersPatchRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
patchUserin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
updateUser
public UsersUpdateResponse updateUser(UsersUpdateRequest req) throws IOException, SCIMApiException
- Specified by:
updateUserin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
updateUser
public UsersUpdateResponse updateUser(RequestConfigurator<UsersUpdateRequest.UsersUpdateRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
updateUserin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
deleteUser
public UsersDeleteResponse deleteUser(UsersDeleteRequest req) throws IOException, SCIMApiException
- Specified by:
deleteUserin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
deleteUser
public UsersDeleteResponse deleteUser(RequestConfigurator<UsersDeleteRequest.UsersDeleteRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
deleteUserin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
searchGroups
public GroupsSearchResponse searchGroups(GroupsSearchRequest req) throws IOException, SCIMApiException
- Specified by:
searchGroupsin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
searchGroups
public GroupsSearchResponse searchGroups(RequestConfigurator<GroupsSearchRequest.GroupsSearchRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
searchGroupsin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
readGroup
public GroupsReadResponse readGroup(GroupsReadRequest req) throws IOException, SCIMApiException
- Specified by:
readGroupin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
readGroup
public GroupsReadResponse readGroup(RequestConfigurator<GroupsReadRequest.GroupsReadRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
readGroupin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
createGroup
public GroupsCreateResponse createGroup(GroupsCreateRequest req) throws IOException, SCIMApiException
- Specified by:
createGroupin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
createGroup
public GroupsCreateResponse createGroup(RequestConfigurator<GroupsCreateRequest.GroupsCreateRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
createGroupin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
patchGroup
public GroupsPatchResponse patchGroup(GroupsPatchRequest req) throws IOException, SCIMApiException
- Specified by:
patchGroupin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
patchGroup
public GroupsPatchResponse patchGroup(RequestConfigurator<GroupsPatchRequest.GroupsPatchRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
patchGroupin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
updateGroup
public GroupsUpdateResponse updateGroup(GroupsUpdateRequest req) throws IOException, SCIMApiException
- Specified by:
updateGroupin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
updateGroup
public GroupsUpdateResponse updateGroup(RequestConfigurator<GroupsUpdateRequest.GroupsUpdateRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
updateGroupin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
deleteGroup
public GroupsDeleteResponse deleteGroup(GroupsDeleteRequest req) throws IOException, SCIMApiException
- Specified by:
deleteGroupin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
deleteGroup
public GroupsDeleteResponse deleteGroup(RequestConfigurator<GroupsDeleteRequest.GroupsDeleteRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
deleteGroupin interfaceSCIMClient- Throws:
IOExceptionSCIMApiException
-
-