Class IdentitySourceApi

java.lang.Object
com.okta.sdk.resource.api.IdentitySourceApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.0") public class IdentitySourceApi extends Object
  • Constructor Details Link icon

    • IdentitySourceApi Link icon

      public IdentitySourceApi()
    • IdentitySourceApi Link icon

      public IdentitySourceApi(ApiClient apiClient)
  • Method Details Link icon

    • getApiClient Link icon

      public ApiClient getApiClient()
    • setApiClient Link icon

      public void setApiClient(ApiClient apiClient)
    • createIdentitySourceSession Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

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