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 Details

    • IdentitySourceApi

      public IdentitySourceApi()
    • IdentitySourceApi

      public IdentitySourceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

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

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