Class ApplicationCrossAppAccessConnectionsApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]", comments="Generator version: 7.15.0") public class ApplicationCrossAppAccessConnectionsApi extends Object
  • Constructor Details

    • ApplicationCrossAppAccessConnectionsApi

      public ApplicationCrossAppAccessConnectionsApi()
    • ApplicationCrossAppAccessConnectionsApi

      public ApplicationCrossAppAccessConnectionsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createCrossAppAccessConnection

      public OrgCrossAppAccessConnection createCrossAppAccessConnection(String appId, OrgCrossAppAccessConnection orgCrossAppAccessConnection) throws ApiException
      Create a Cross App Access connection Creates a Cross App Access connection
      Parameters:
      appId - Application ID (required)
      orgCrossAppAccessConnection - (required)
      Returns:
      OrgCrossAppAccessConnection
      Throws:
      ApiException - if fails to make API call
    • createCrossAppAccessConnection

      public OrgCrossAppAccessConnection createCrossAppAccessConnection(String appId, OrgCrossAppAccessConnection orgCrossAppAccessConnection, Map<String,String> additionalHeaders) throws ApiException
      Create a Cross App Access connection Creates a Cross App Access connection
      Parameters:
      appId - Application ID (required)
      orgCrossAppAccessConnection - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      OrgCrossAppAccessConnection
      Throws:
      ApiException - if fails to make API call
    • deleteCrossAppAccessConnection

      public void deleteCrossAppAccessConnection(String appId, String connectionId) throws ApiException
      Delete a Cross App Access connection Deletes a Cross App Access connection with the specified ID
      Parameters:
      appId - Application ID (required)
      connectionId - Connection ID (required)
      Throws:
      ApiException - if fails to make API call
    • deleteCrossAppAccessConnection

      public void deleteCrossAppAccessConnection(String appId, String connectionId, Map<String,String> additionalHeaders) throws ApiException
      Delete a Cross App Access connection Deletes a Cross App Access connection with the specified ID
      Parameters:
      appId - Application ID (required)
      connectionId - Connection ID (required)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getAllCrossAppAccessConnections

      public List<OrgCrossAppAccessConnection> getAllCrossAppAccessConnections(String appId, String after, Integer limit) throws ApiException
      Retrieve all Cross App Access connections Retrieves inbound and outbound Cross App Access connections associated with an app
      Parameters:
      appId - Application ID (required)
      after - Specifies the pagination cursor for the next page of connection results (optional)
      limit - Specifies the number of results to return per page. The values: * -1: Return all results (up to system maximum) * 0: Return an empty result set * Positive integer: Return up to that many results (capped at system maximum) (optional, default to -1)
      Returns:
      List<OrgCrossAppAccessConnection>
      Throws:
      ApiException - if fails to make API call
    • getAllCrossAppAccessConnections

      public List<OrgCrossAppAccessConnection> getAllCrossAppAccessConnections(String appId, String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
      Retrieve all Cross App Access connections Retrieves inbound and outbound Cross App Access connections associated with an app
      Parameters:
      appId - Application ID (required)
      after - Specifies the pagination cursor for the next page of connection results (optional)
      limit - Specifies the number of results to return per page. The values: * -1: Return all results (up to system maximum) * 0: Return an empty result set * Positive integer: Return up to that many results (capped at system maximum) (optional, default to -1)
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<OrgCrossAppAccessConnection>
      Throws:
      ApiException - if fails to make API call
    • getAllCrossAppAccessConnectionsPaged

      public Iterable<OrgCrossAppAccessConnection> getAllCrossAppAccessConnectionsPaged(String appId, String after, Integer limit)
      Retrieve all Cross App Access connections (Paginated) Retrieves inbound and outbound Cross App Access connections associated with an app This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks. Use this method in a for-each loop to automatically fetch all pages without manual cursor management.
      Parameters:
      appId - Application ID (required)
      after - Specifies the pagination cursor for the next page of connection results (optional)
      limit - Specifies the number of results to return per page. The values: * -1: Return all results (up to system maximum) * 0: Return an empty result set * Positive integer: Return up to that many results (capped at system maximum) (optional, default to -1)
      Returns:
      Iterable<OrgCrossAppAccessConnection> lazy iterable over all pages
    • getAllCrossAppAccessConnectionsPaged

      public Iterable<OrgCrossAppAccessConnection> getAllCrossAppAccessConnectionsPaged(String appId, String after, Integer limit, Map<String,String> additionalHeaders)
      Retrieve all Cross App Access connections (Paginated with additional headers) Retrieves inbound and outbound Cross App Access connections associated with an app This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks.
      Parameters:
      appId - Application ID (required)
      after - Specifies the pagination cursor for the next page of connection results (optional)
      limit - Specifies the number of results to return per page. The values: * -1: Return all results (up to system maximum) * 0: Return an empty result set * Positive integer: Return up to that many results (capped at system maximum) (optional, default to -1)
      additionalHeaders - additional headers for this call
      Returns:
      Iterable<OrgCrossAppAccessConnection> lazy iterable over all pages
    • getCrossAppAccessConnection

      public OrgCrossAppAccessConnection getCrossAppAccessConnection(String appId, String connectionId) throws ApiException
      Retrieve a Cross App Access connection Retrieves the Cross App Access connection with the specified ID
      Parameters:
      appId - Application ID (required)
      connectionId - Connection ID (required)
      Returns:
      OrgCrossAppAccessConnection
      Throws:
      ApiException - if fails to make API call
    • getCrossAppAccessConnection

      public OrgCrossAppAccessConnection getCrossAppAccessConnection(String appId, String connectionId, Map<String,String> additionalHeaders) throws ApiException
      Retrieve a Cross App Access connection Retrieves the Cross App Access connection with the specified ID
      Parameters:
      appId - Application ID (required)
      connectionId - Connection ID (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      OrgCrossAppAccessConnection
      Throws:
      ApiException - if fails to make API call
    • updateCrossAppAccessConnection

      public OrgCrossAppAccessConnection updateCrossAppAccessConnection(String appId, String connectionId, OrgCrossAppAccessConnectionPatchRequest orgCrossAppAccessConnectionPatchRequest) throws ApiException
      Update a Cross App Access connection Updates the Cross App Access connection with the specified ID
      Parameters:
      appId - Application ID (required)
      connectionId - Connection ID (required)
      orgCrossAppAccessConnectionPatchRequest - (required)
      Returns:
      OrgCrossAppAccessConnection
      Throws:
      ApiException - if fails to make API call
    • updateCrossAppAccessConnection

      public OrgCrossAppAccessConnection updateCrossAppAccessConnection(String appId, String connectionId, OrgCrossAppAccessConnectionPatchRequest orgCrossAppAccessConnectionPatchRequest, Map<String,String> additionalHeaders) throws ApiException
      Update a Cross App Access connection Updates the Cross App Access connection with the specified ID
      Parameters:
      appId - Application ID (required)
      connectionId - Connection ID (required)
      orgCrossAppAccessConnectionPatchRequest - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      OrgCrossAppAccessConnection
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

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