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-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.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 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 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 upserted 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 upserted in Okta from the identity source for the given session
-
Constructor Details
-
IdentitySourceApi
public IdentitySourceApi() -
IdentitySourceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createIdentitySourceSession
public List<IdentitySourceSession> createIdentitySourceSession(String identitySourceId) throws ApiException Create an Identity Source Session Creates an identity source session for the given identity source instance- Parameters:
identitySourceId
- (required)- Returns:
- List<IdentitySourceSession>
- Throws:
ApiException
- if fails to make API call
-
createIdentitySourceSession
public List<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
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<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
- (required)sessionId
- (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
- (required)sessionId
- (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
- (required)sessionId
- (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
- (required)sessionId
- (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
- (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
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<IdentitySourceSession>
- Throws:
ApiException
- if fails to make API call
-
startImportFromIdentitySource
public List<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
- (required)sessionId
- (required)- Returns:
- List<IdentitySourceSession>
- Throws:
ApiException
- if fails to make API call
-
startImportFromIdentitySource
public List<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
- (required)sessionId
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<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 entities that need to be deleted in Okta from the identity source for the given session- Parameters:
identitySourceId
- (required)sessionId
- (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 entities that need to be deleted in Okta from the identity source for the given session- Parameters:
identitySourceId
- (required)sessionId
- (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 upserted in Okta from the identity source for the given session- Parameters:
identitySourceId
- (required)sessionId
- (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 upserted in Okta from the identity source for the given session- Parameters:
identitySourceId
- (required)sessionId
- (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()
-