Class ApplicationConnectionsApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T16:19:57.008753975Z[Etc/UTC]", comments="Generator version: 7.8.0") public class ApplicationConnectionsApi extends Object
  • Constructor Details

    • ApplicationConnectionsApi

      public ApplicationConnectionsApi()
    • ApplicationConnectionsApi

      public ApplicationConnectionsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • activateDefaultProvisioningConnectionForApplication

      public void activateDefaultProvisioningConnectionForApplication(String appId) throws ApiException
      Activate the default Provisioning Connection Activates the default Provisioning Connection for an app
      Parameters:
      appId - Application ID (required)
      Throws:
      ApiException - if fails to make API call
    • activateDefaultProvisioningConnectionForApplication

      public void activateDefaultProvisioningConnectionForApplication(String appId, Map<String,String> additionalHeaders) throws ApiException
      Activate the default Provisioning Connection Activates the default Provisioning Connection for an app
      Parameters:
      appId - Application ID (required)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • deactivateDefaultProvisioningConnectionForApplication

      public void deactivateDefaultProvisioningConnectionForApplication(String appId) throws ApiException
      Deactivate the default Provisioning Connection Deactivates the default Provisioning Connection for an app
      Parameters:
      appId - Application ID (required)
      Throws:
      ApiException - if fails to make API call
    • deactivateDefaultProvisioningConnectionForApplication

      public void deactivateDefaultProvisioningConnectionForApplication(String appId, Map<String,String> additionalHeaders) throws ApiException
      Deactivate the default Provisioning Connection Deactivates the default Provisioning Connection for an app
      Parameters:
      appId - Application ID (required)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getDefaultProvisioningConnectionForApplication

      public ProvisioningConnectionResponse getDefaultProvisioningConnectionForApplication(String appId) throws ApiException
      Retrieve the default Provisioning Connection Retrieves the default Provisioning Connection for an app
      Parameters:
      appId - Application ID (required)
      Returns:
      ProvisioningConnectionResponse
      Throws:
      ApiException - if fails to make API call
    • getDefaultProvisioningConnectionForApplication

      public ProvisioningConnectionResponse getDefaultProvisioningConnectionForApplication(String appId, Map<String,String> additionalHeaders) throws ApiException
      Retrieve the default Provisioning Connection Retrieves the default Provisioning Connection for an app
      Parameters:
      appId - Application ID (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ProvisioningConnectionResponse
      Throws:
      ApiException - if fails to make API call
    • updateDefaultProvisioningConnectionForApplication

      public ProvisioningConnectionResponse updateDefaultProvisioningConnectionForApplication(String appId, UpdateDefaultProvisioningConnectionForApplicationRequest updateDefaultProvisioningConnectionForApplicationRequest, Boolean activate) throws ApiException
      Update the default Provisioning Connection Updates the default Provisioning Connection for an app
      Parameters:
      appId - Application ID (required)
      updateDefaultProvisioningConnectionForApplicationRequest - (required)
      activate - Activates the Provisioning Connection (optional)
      Returns:
      ProvisioningConnectionResponse
      Throws:
      ApiException - if fails to make API call
    • updateDefaultProvisioningConnectionForApplication

      public ProvisioningConnectionResponse updateDefaultProvisioningConnectionForApplication(String appId, UpdateDefaultProvisioningConnectionForApplicationRequest updateDefaultProvisioningConnectionForApplicationRequest, Boolean activate, Map<String,String> additionalHeaders) throws ApiException
      Update the default Provisioning Connection Updates the default Provisioning Connection for an app
      Parameters:
      appId - Application ID (required)
      updateDefaultProvisioningConnectionForApplicationRequest - (required)
      activate - Activates the Provisioning Connection (optional)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ProvisioningConnectionResponse
      Throws:
      ApiException - if fails to make API call
    • verifyProvisioningConnectionForApplication

      public void verifyProvisioningConnectionForApplication(OAuthProvisioningEnabledApp appName, String appId, String code, String state) throws ApiException
      Verify the Provisioning Connection Verifies the OAuth 2.0-based connection as part of the OAuth 2.0 consent flow. The validation of the consent flow is the last step of the provisioning setup for an OAuth 2.0-based connection. Currently, this operation only supports `office365`,`google`, `zoomus`, and `slack` apps.
      Parameters:
      appName - (required)
      appId - Application ID (required)
      code - (optional)
      state - (optional)
      Throws:
      ApiException - if fails to make API call
    • verifyProvisioningConnectionForApplication

      public void verifyProvisioningConnectionForApplication(OAuthProvisioningEnabledApp appName, String appId, String code, String state, Map<String,String> additionalHeaders) throws ApiException
      Verify the Provisioning Connection Verifies the OAuth 2.0-based connection as part of the OAuth 2.0 consent flow. The validation of the consent flow is the last step of the provisioning setup for an OAuth 2.0-based connection. Currently, this operation only supports `office365`,`google`, `zoomus`, and `slack` apps.
      Parameters:
      appName - (required)
      appId - Application ID (required)
      code - (optional)
      state - (optional)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

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