Package com.okta.sdk.resource.api
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCrossAppAccessConnection(String appId, OrgCrossAppAccessConnection orgCrossAppAccessConnection) Create a Cross App Access connection Creates a Cross App Access connectioncreateCrossAppAccessConnection(String appId, OrgCrossAppAccessConnection orgCrossAppAccessConnection, Map<String, String> additionalHeaders) Create a Cross App Access connection Creates a Cross App Access connectionvoiddeleteCrossAppAccessConnection(String appId, String connectionId) Delete a Cross App Access connection Deletes a Cross App Access connection with the specified IDvoiddeleteCrossAppAccessConnection(String appId, String connectionId, Map<String, String> additionalHeaders) Delete a Cross App Access connection Deletes a Cross App Access connection with the specified IDgetAllCrossAppAccessConnections(String appId, String after, Integer limit) Retrieve all Cross App Access connections Retrieves inbound and outbound Cross App Access connections associated with an appgetAllCrossAppAccessConnections(String appId, String after, Integer limit, Map<String, String> additionalHeaders) Retrieve all Cross App Access connections Retrieves inbound and outbound Cross App Access connections associated with an appgetAllCrossAppAccessConnectionsPaged(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.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.getCrossAppAccessConnection(String appId, String connectionId) Retrieve a Cross App Access connection Retrieves the Cross App Access connection with the specified IDgetCrossAppAccessConnection(String appId, String connectionId, Map<String, String> additionalHeaders) Retrieve a Cross App Access connection Retrieves the Cross App Access connection with the specified IDprotected static com.fasterxml.jackson.databind.ObjectMappervoidsetApiClient(ApiClient apiClient) updateCrossAppAccessConnection(String appId, String connectionId, OrgCrossAppAccessConnectionPatchRequest orgCrossAppAccessConnectionPatchRequest) Update a Cross App Access connection Updates the Cross App Access connection with the specified IDupdateCrossAppAccessConnection(String appId, String connectionId, OrgCrossAppAccessConnectionPatchRequest orgCrossAppAccessConnectionPatchRequest, Map<String, String> additionalHeaders) Update a Cross App Access connection Updates the Cross App Access connection with the specified ID
-
Constructor Details
-
ApplicationCrossAppAccessConnectionsApi
public ApplicationCrossAppAccessConnectionsApi() -
ApplicationCrossAppAccessConnectionsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 ApiExceptionCreate 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
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 ApiExceptionDelete 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 ApiExceptionRetrieve 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 ApiExceptionRetrieve 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 ApiExceptionUpdate 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()
-