Package com.slack.api.scim2.impl
Class SCIM2ClientImpl
- java.lang.Object
-
- com.slack.api.scim2.impl.SCIM2ClientImpl
-
- All Implemented Interfaces:
SCIM2Client
public class SCIM2ClientImpl extends Object implements SCIM2Client
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SCIM2ClientImpl.GroupsPatchRequestBody
static class
SCIM2ClientImpl.UsersPatchRequestBody
-
Field Summary
-
Fields inherited from interface com.slack.api.scim2.SCIM2Client
ENDPOINT_URL_PREFIX
-
-
Constructor Summary
Constructors Constructor Description SCIM2ClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache)
SCIM2ClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache, String token)
-
Method Summary
-
-
-
Constructor Detail
-
SCIM2ClientImpl
public SCIM2ClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache)
-
SCIM2ClientImpl
public SCIM2ClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache, String token)
-
-
Method Detail
-
getEndpointUrlPrefix
public String getEndpointUrlPrefix()
- Specified by:
getEndpointUrlPrefix
in interfaceSCIM2Client
-
setEndpointUrlPrefix
public void setEndpointUrlPrefix(String endpointUrlPrefix)
- Specified by:
setEndpointUrlPrefix
in interfaceSCIM2Client
-
getServiceProviderConfigs
public ServiceProviderConfigsGetResponse getServiceProviderConfigs(ServiceProviderConfigsGetRequest req) throws IOException, SCIM2ApiException
- Specified by:
getServiceProviderConfigs
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
getServiceProviderConfigs
public ServiceProviderConfigsGetResponse getServiceProviderConfigs(RequestConfigurator<ServiceProviderConfigsGetRequest.ServiceProviderConfigsGetRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
getServiceProviderConfigs
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
getResourceTypes
public ResourceTypesGetResponse getResourceTypes(ResourceTypesGetRequest req) throws IOException, SCIM2ApiException
- Specified by:
getResourceTypes
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
getResourceTypes
public ResourceTypesGetResponse getResourceTypes(RequestConfigurator<ResourceTypesGetRequest.ResourceTypesGetRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
getResourceTypes
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
searchUsers
public UsersSearchResponse searchUsers(UsersSearchRequest req) throws IOException, SCIM2ApiException
- Specified by:
searchUsers
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
searchUsers
public UsersSearchResponse searchUsers(RequestConfigurator<UsersSearchRequest.UsersSearchRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
searchUsers
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
readUser
public UsersReadResponse readUser(UsersReadRequest req) throws IOException, SCIM2ApiException
- Specified by:
readUser
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
readUser
public UsersReadResponse readUser(RequestConfigurator<UsersReadRequest.UsersReadRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
readUser
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
createUser
public UsersCreateResponse createUser(UsersCreateRequest req) throws IOException, SCIM2ApiException
- Specified by:
createUser
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
createUser
public UsersCreateResponse createUser(RequestConfigurator<UsersCreateRequest.UsersCreateRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
createUser
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
patchUser
public UsersPatchResponse patchUser(UsersPatchRequest req) throws IOException, SCIM2ApiException
- Specified by:
patchUser
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
patchUser
public UsersPatchResponse patchUser(RequestConfigurator<UsersPatchRequest.UsersPatchRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
patchUser
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
updateUser
public UsersUpdateResponse updateUser(UsersUpdateRequest req) throws IOException, SCIM2ApiException
- Specified by:
updateUser
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
updateUser
public UsersUpdateResponse updateUser(RequestConfigurator<UsersUpdateRequest.UsersUpdateRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
updateUser
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
deleteUser
public UsersDeleteResponse deleteUser(UsersDeleteRequest req) throws IOException, SCIM2ApiException
- Specified by:
deleteUser
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
deleteUser
public UsersDeleteResponse deleteUser(RequestConfigurator<UsersDeleteRequest.UsersDeleteRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
deleteUser
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
searchGroups
public GroupsSearchResponse searchGroups(GroupsSearchRequest req) throws IOException, SCIM2ApiException
- Specified by:
searchGroups
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
searchGroups
public GroupsSearchResponse searchGroups(RequestConfigurator<GroupsSearchRequest.GroupsSearchRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
searchGroups
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
readGroup
public GroupsReadResponse readGroup(GroupsReadRequest req) throws IOException, SCIM2ApiException
- Specified by:
readGroup
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
readGroup
public GroupsReadResponse readGroup(RequestConfigurator<GroupsReadRequest.GroupsReadRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
readGroup
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
createGroup
public GroupsCreateResponse createGroup(GroupsCreateRequest req) throws IOException, SCIM2ApiException
- Specified by:
createGroup
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
createGroup
public GroupsCreateResponse createGroup(RequestConfigurator<GroupsCreateRequest.GroupsCreateRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
createGroup
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
patchGroup
public GroupsPatchResponse patchGroup(GroupsPatchRequest req) throws IOException, SCIM2ApiException
- Specified by:
patchGroup
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
patchGroup
public GroupsPatchResponse patchGroup(RequestConfigurator<GroupsPatchRequest.GroupsPatchRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
patchGroup
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
updateGroup
public GroupsUpdateResponse updateGroup(GroupsUpdateRequest req) throws IOException, SCIM2ApiException
- Specified by:
updateGroup
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
updateGroup
public GroupsUpdateResponse updateGroup(RequestConfigurator<GroupsUpdateRequest.GroupsUpdateRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
updateGroup
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
deleteGroup
public GroupsDeleteResponse deleteGroup(GroupsDeleteRequest req) throws IOException, SCIM2ApiException
- Specified by:
deleteGroup
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
deleteGroup
public GroupsDeleteResponse deleteGroup(RequestConfigurator<GroupsDeleteRequest.GroupsDeleteRequestBuilder> req) throws IOException, SCIM2ApiException
- Specified by:
deleteGroup
in interfaceSCIM2Client
- Throws:
IOException
SCIM2ApiException
-
-