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:
getEndpointUrlPrefix
in interfaceSCIMClient
-
setEndpointUrlPrefix
public void setEndpointUrlPrefix(String endpointUrlPrefix)
- Specified by:
setEndpointUrlPrefix
in interfaceSCIMClient
-
getServiceProviderConfigs
public ServiceProviderConfigsGetResponse getServiceProviderConfigs(ServiceProviderConfigsGetRequest req) throws IOException, SCIMApiException
- Specified by:
getServiceProviderConfigs
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
getServiceProviderConfigs
public ServiceProviderConfigsGetResponse getServiceProviderConfigs(RequestConfigurator<ServiceProviderConfigsGetRequest.ServiceProviderConfigsGetRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
getServiceProviderConfigs
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
searchUsers
public UsersSearchResponse searchUsers(UsersSearchRequest req) throws IOException, SCIMApiException
- Specified by:
searchUsers
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
searchUsers
public UsersSearchResponse searchUsers(RequestConfigurator<UsersSearchRequest.UsersSearchRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
searchUsers
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
readUser
public UsersReadResponse readUser(UsersReadRequest req) throws IOException, SCIMApiException
- Specified by:
readUser
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
readUser
public UsersReadResponse readUser(RequestConfigurator<UsersReadRequest.UsersReadRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
readUser
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
createUser
public UsersCreateResponse createUser(UsersCreateRequest req) throws IOException, SCIMApiException
- Specified by:
createUser
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
createUser
public UsersCreateResponse createUser(RequestConfigurator<UsersCreateRequest.UsersCreateRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
createUser
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
patchUser
public UsersPatchResponse patchUser(UsersPatchRequest req) throws IOException, SCIMApiException
- Specified by:
patchUser
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
patchUser
public UsersPatchResponse patchUser(RequestConfigurator<UsersPatchRequest.UsersPatchRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
patchUser
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
updateUser
public UsersUpdateResponse updateUser(UsersUpdateRequest req) throws IOException, SCIMApiException
- Specified by:
updateUser
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
updateUser
public UsersUpdateResponse updateUser(RequestConfigurator<UsersUpdateRequest.UsersUpdateRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
updateUser
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
deleteUser
public UsersDeleteResponse deleteUser(UsersDeleteRequest req) throws IOException, SCIMApiException
- Specified by:
deleteUser
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
deleteUser
public UsersDeleteResponse deleteUser(RequestConfigurator<UsersDeleteRequest.UsersDeleteRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
deleteUser
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
searchGroups
public GroupsSearchResponse searchGroups(GroupsSearchRequest req) throws IOException, SCIMApiException
- Specified by:
searchGroups
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
searchGroups
public GroupsSearchResponse searchGroups(RequestConfigurator<GroupsSearchRequest.GroupsSearchRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
searchGroups
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
readGroup
public GroupsReadResponse readGroup(GroupsReadRequest req) throws IOException, SCIMApiException
- Specified by:
readGroup
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
readGroup
public GroupsReadResponse readGroup(RequestConfigurator<GroupsReadRequest.GroupsReadRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
readGroup
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
createGroup
public GroupsCreateResponse createGroup(GroupsCreateRequest req) throws IOException, SCIMApiException
- Specified by:
createGroup
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
createGroup
public GroupsCreateResponse createGroup(RequestConfigurator<GroupsCreateRequest.GroupsCreateRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
createGroup
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
patchGroup
public GroupsPatchResponse patchGroup(GroupsPatchRequest req) throws IOException, SCIMApiException
- Specified by:
patchGroup
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
patchGroup
public GroupsPatchResponse patchGroup(RequestConfigurator<GroupsPatchRequest.GroupsPatchRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
patchGroup
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
updateGroup
public GroupsUpdateResponse updateGroup(GroupsUpdateRequest req) throws IOException, SCIMApiException
- Specified by:
updateGroup
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
updateGroup
public GroupsUpdateResponse updateGroup(RequestConfigurator<GroupsUpdateRequest.GroupsUpdateRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
updateGroup
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
deleteGroup
public GroupsDeleteResponse deleteGroup(GroupsDeleteRequest req) throws IOException, SCIMApiException
- Specified by:
deleteGroup
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
deleteGroup
public GroupsDeleteResponse deleteGroup(RequestConfigurator<GroupsDeleteRequest.GroupsDeleteRequestBuilder> req) throws IOException, SCIMApiException
- Specified by:
deleteGroup
in interfaceSCIMClient
- Throws:
IOException
SCIMApiException
-
-