Package com.okta.sdk.resource.api
Class IdentitySourceApi
java.lang.Object
com.okta.sdk.resource.api.IdentitySourceApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class IdentitySourceApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateIdentitySourceSession
(String identitySourceId) Create an Identity Source Session Creates an Identity Source Session for the given Identity Source instancecreateIdentitySourceSession
(String identitySourceId, Map<String, String> additionalHeaders) Create an Identity Source Session Creates an Identity Source Session for the given Identity Source instancevoid
deleteIdentitySourceSession
(String identitySourceId, String sessionId) Delete an Identity Source Session Deletes an Identity Source Session for a given `identitySourceId` and `sessionId`void
deleteIdentitySourceSession
(String identitySourceId, String sessionId, Map<String, String> additionalHeaders) Delete an Identity Source Session Deletes an Identity Source Session for a given `identitySourceId` and `sessionId`getIdentitySourceSession
(String identitySourceId, String sessionId) Retrieve an Identity Source Session Retrieves an Identity Source Session for a given Identity Source ID and session IDgetIdentitySourceSession
(String identitySourceId, String sessionId, Map<String, String> additionalHeaders) Retrieve an Identity Source Session Retrieves an Identity Source Session for a given Identity Source ID and session IDprotected static com.fasterxml.jackson.databind.ObjectMapper
listIdentitySourceSessions
(String identitySourceId) List all Identity Source Sessions Lists all Identity Source Sessions for the given Identity Source instancelistIdentitySourceSessions
(String identitySourceId, Map<String, String> additionalHeaders) List all Identity Source Sessions Lists all Identity Source Sessions for the given Identity Source instancevoid
setApiClient
(ApiClient apiClient) startImportFromIdentitySource
(String identitySourceId, String sessionId) Start the import from the Identity Source Starts the import from the Identity Source described by the uploaded bulk operationsstartImportFromIdentitySource
(String identitySourceId, String sessionId, Map<String, String> additionalHeaders) Start the import from the Identity Source Starts the import from the Identity Source described by the uploaded bulk operationsvoid
uploadIdentitySourceDataForDelete
(String identitySourceId, String sessionId, BulkDeleteRequestBody bulkDeleteRequestBody) Upload the data to be deleted in Okta Uploads external IDs of entities that need to be deleted in Okta from the Identity Source for the given sessionvoid
uploadIdentitySourceDataForDelete
(String identitySourceId, String sessionId, BulkDeleteRequestBody bulkDeleteRequestBody, Map<String, String> additionalHeaders) Upload the data to be deleted in Okta Uploads external IDs of entities that need to be deleted in Okta from the Identity Source for the given sessionvoid
uploadIdentitySourceDataForUpsert
(String identitySourceId, String sessionId, BulkUpsertRequestBody bulkUpsertRequestBody) Upload the data to be upserted in Okta Uploads entities that need to be inserted or updated in Okta from the Identity Source for the given sessionvoid
uploadIdentitySourceDataForUpsert
(String identitySourceId, String sessionId, BulkUpsertRequestBody bulkUpsertRequestBody, Map<String, String> additionalHeaders) Upload the data to be upserted in Okta Uploads entities that need to be inserted or updated in Okta from the Identity Source for the given session
-
Constructor Details
-
IdentitySourceApi
public IdentitySourceApi() -
IdentitySourceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createIdentitySourceSession
public IdentitySourceSession createIdentitySourceSession(String identitySourceId) throws ApiException Create an Identity Source Session Creates an Identity Source Session for the given Identity Source instance- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)- Returns:
- IdentitySourceSession
- Throws:
ApiException
- if fails to make API call
-
createIdentitySourceSession
public IdentitySourceSession createIdentitySourceSession(String identitySourceId, Map<String, String> additionalHeaders) throws ApiExceptionCreate an Identity Source Session Creates an Identity Source Session for the given Identity Source instance- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)additionalHeaders
- additionalHeaders for this call- Returns:
- IdentitySourceSession
- Throws:
ApiException
- if fails to make API call
-
deleteIdentitySourceSession
public void deleteIdentitySourceSession(String identitySourceId, String sessionId) throws ApiException Delete an Identity Source Session Deletes an Identity Source Session for a given `identitySourceId` and `sessionId`- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)sessionId
- The ID of the Identity Source Session (required)- Throws:
ApiException
- if fails to make API call
-
deleteIdentitySourceSession
public void deleteIdentitySourceSession(String identitySourceId, String sessionId, Map<String, String> additionalHeaders) throws ApiExceptionDelete an Identity Source Session Deletes an Identity Source Session for a given `identitySourceId` and `sessionId`- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)sessionId
- The ID of the Identity Source Session (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getIdentitySourceSession
public IdentitySourceSession getIdentitySourceSession(String identitySourceId, String sessionId) throws ApiException Retrieve an Identity Source Session Retrieves an Identity Source Session for a given Identity Source ID and session ID- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)sessionId
- The ID of the Identity Source Session (required)- Returns:
- IdentitySourceSession
- Throws:
ApiException
- if fails to make API call
-
getIdentitySourceSession
public IdentitySourceSession getIdentitySourceSession(String identitySourceId, String sessionId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Identity Source Session Retrieves an Identity Source Session for a given Identity Source ID and session ID- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)sessionId
- The ID of the Identity Source Session (required)additionalHeaders
- additionalHeaders for this call- Returns:
- IdentitySourceSession
- Throws:
ApiException
- if fails to make API call
-
listIdentitySourceSessions
public List<IdentitySourceSession> listIdentitySourceSessions(String identitySourceId) throws ApiException List all Identity Source Sessions Lists all Identity Source Sessions for the given Identity Source instance- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)- Returns:
- List<IdentitySourceSession>
- Throws:
ApiException
- if fails to make API call
-
listIdentitySourceSessions
public List<IdentitySourceSession> listIdentitySourceSessions(String identitySourceId, Map<String, String> additionalHeaders) throws ApiExceptionList all Identity Source Sessions Lists all Identity Source Sessions for the given Identity Source instance- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<IdentitySourceSession>
- Throws:
ApiException
- if fails to make API call
-
startImportFromIdentitySource
public IdentitySourceSession startImportFromIdentitySource(String identitySourceId, String sessionId) throws ApiException Start the import from the Identity Source Starts the import from the Identity Source described by the uploaded bulk operations- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)sessionId
- The ID of the Identity Source Session (required)- Returns:
- IdentitySourceSession
- Throws:
ApiException
- if fails to make API call
-
startImportFromIdentitySource
public IdentitySourceSession startImportFromIdentitySource(String identitySourceId, String sessionId, Map<String, String> additionalHeaders) throws ApiExceptionStart the import from the Identity Source Starts the import from the Identity Source described by the uploaded bulk operations- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)sessionId
- The ID of the Identity Source Session (required)additionalHeaders
- additionalHeaders for this call- Returns:
- IdentitySourceSession
- Throws:
ApiException
- if fails to make API call
-
uploadIdentitySourceDataForDelete
public void uploadIdentitySourceDataForDelete(String identitySourceId, String sessionId, BulkDeleteRequestBody bulkDeleteRequestBody) throws ApiException Upload the data to be deleted in Okta Uploads external IDs of entities that need to be deleted in Okta from the Identity Source for the given session- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)sessionId
- The ID of the Identity Source Session (required)bulkDeleteRequestBody
- (optional)- Throws:
ApiException
- if fails to make API call
-
uploadIdentitySourceDataForDelete
public void uploadIdentitySourceDataForDelete(String identitySourceId, String sessionId, BulkDeleteRequestBody bulkDeleteRequestBody, Map<String, String> additionalHeaders) throws ApiExceptionUpload the data to be deleted in Okta Uploads external IDs of entities that need to be deleted in Okta from the Identity Source for the given session- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)sessionId
- The ID of the Identity Source Session (required)bulkDeleteRequestBody
- (optional)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
uploadIdentitySourceDataForUpsert
public void uploadIdentitySourceDataForUpsert(String identitySourceId, String sessionId, BulkUpsertRequestBody bulkUpsertRequestBody) throws ApiException Upload the data to be upserted in Okta Uploads entities that need to be inserted or updated in Okta from the Identity Source for the given session- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)sessionId
- The ID of the Identity Source Session (required)bulkUpsertRequestBody
- (optional)- Throws:
ApiException
- if fails to make API call
-
uploadIdentitySourceDataForUpsert
public void uploadIdentitySourceDataForUpsert(String identitySourceId, String sessionId, BulkUpsertRequestBody bulkUpsertRequestBody, Map<String, String> additionalHeaders) throws ApiExceptionUpload the data to be upserted in Okta Uploads entities that need to be inserted or updated in Okta from the Identity Source for the given session- Parameters:
identitySourceId
- The ID of the Identity Source for which the session is created (required)sessionId
- The ID of the Identity Source Session (required)bulkUpsertRequestBody
- (optional)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-