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 Details

    • IdentitySourceApi

      public IdentitySourceApi()
    • IdentitySourceApi

      public IdentitySourceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 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)
      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 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)
      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 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)
      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 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)
      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 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)
      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 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)
      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 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)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

      protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()