
com.github.seratch.jslack.api.scim.SCIMClient Maven / Gradle / Ivy
package com.github.seratch.jslack.api.scim;
import com.github.seratch.jslack.api.RequestConfigurator;
import com.github.seratch.jslack.api.scim.request.*;
import com.github.seratch.jslack.api.scim.response.*;
import java.io.IOException;
/**
* API Methods
*/
public interface SCIMClient {
String ENDPOINT_URL_PREFIX = "https://api.slack.com/scim/v1/";
String getEndpointUrlPrefix();
void setEndpointUrlPrefix(String endpointUrlPrefix);
// --------------------
// ServiceProviderConfigs
// --------------------
ServiceProviderConfigsGetResponse getServiceProviderConfigs(ServiceProviderConfigsGetRequest req) throws IOException, SCIMApiException;
ServiceProviderConfigsGetResponse getServiceProviderConfigs(RequestConfigurator req) throws IOException, SCIMApiException;
// --------------------
// Users
// --------------------
UsersSearchResponse searchUsers(UsersSearchRequest req) throws IOException, SCIMApiException;
UsersSearchResponse searchUsers(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
UsersReadResponse readUser(UsersReadRequest req) throws IOException, SCIMApiException;
UsersReadResponse readUser(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
UsersCreateResponse createUser(UsersCreateRequest req) throws IOException, SCIMApiException;
UsersCreateResponse createUser(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
UsersPatchResponse patchUser(UsersPatchRequest req) throws IOException, SCIMApiException;
UsersPatchResponse patchUser(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
UsersUpdateResponse updateUser(UsersUpdateRequest req) throws IOException, SCIMApiException;
UsersUpdateResponse updateUser(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
UsersDeleteResponse deleteUser(UsersDeleteRequest req) throws IOException, SCIMApiException;
UsersDeleteResponse deleteUser(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
// Use deleteUser instead
@Deprecated
UsersDeleteResponse delete(UsersDeleteRequest req) throws IOException, SCIMApiException;
// Use deleteUser instead
@Deprecated
UsersDeleteResponse delete(RequestConfigurator req) throws IOException, SCIMApiException;
// --------------------
// Groups
// --------------------
GroupsSearchResponse searchGroups(GroupsSearchRequest req) throws IOException, SCIMApiException;
GroupsSearchResponse searchGroups(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
GroupsReadResponse readGroup(GroupsReadRequest req) throws IOException, SCIMApiException;
GroupsReadResponse readGroup(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
GroupsCreateResponse createGroup(GroupsCreateRequest req) throws IOException, SCIMApiException;
GroupsCreateResponse createGroup(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
GroupsPatchResponse patchGroup(GroupsPatchRequest req) throws IOException, SCIMApiException;
GroupsPatchResponse patchGroup(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
GroupsUpdateResponse updateGroup(GroupsUpdateRequest req) throws IOException, SCIMApiException;
GroupsUpdateResponse updateGroup(RequestConfigurator req) throws IOException, SCIMApiException;
// ---
GroupsDeleteResponse deleteGroup(GroupsDeleteRequest req) throws IOException, SCIMApiException;
GroupsDeleteResponse deleteGroup(RequestConfigurator req) throws IOException, SCIMApiException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy