Package com.okta.sdk.resource.api
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Activate the default Provisioning Connection Activates the default Provisioning Connection for an appvoid
activateDefaultProvisioningConnectionForApplication
(String appId, Map<String, String> additionalHeaders) Activate the default Provisioning Connection Activates the default Provisioning Connection for an appvoid
Deactivate the default Provisioning Connection Deactivates the default Provisioning Connection for an appvoid
deactivateDefaultProvisioningConnectionForApplication
(String appId, Map<String, String> additionalHeaders) Deactivate the default Provisioning Connection Deactivates the default Provisioning Connection for an appRetrieve the default Provisioning Connection Retrieves the default Provisioning Connection for an appgetDefaultProvisioningConnectionForApplication
(String appId, Map<String, String> additionalHeaders) Retrieve the default Provisioning Connection Retrieves the default Provisioning Connection for an appprotected static com.fasterxml.jackson.databind.ObjectMapper
void
setApiClient
(ApiClient apiClient) updateDefaultProvisioningConnectionForApplication
(String appId, UpdateDefaultProvisioningConnectionForApplicationRequest updateDefaultProvisioningConnectionForApplicationRequest, Boolean activate) Update the default Provisioning Connection Updates the default Provisioning Connection for an appupdateDefaultProvisioningConnectionForApplication
(String appId, UpdateDefaultProvisioningConnectionForApplicationRequest updateDefaultProvisioningConnectionForApplicationRequest, Boolean activate, Map<String, String> additionalHeaders) Update the default Provisioning Connection Updates the default Provisioning Connection for an appvoid
verifyProvisioningConnectionForApplication
(OAuthProvisioningEnabledApp appName, String appId, String code, String state) Verify the Provisioning Connection Verifies the OAuth 2.0-based connection as part of the OAuth 2.0 consent flow.void
verifyProvisioningConnectionForApplication
(OAuthProvisioningEnabledApp appName, String appId, String code, String state, Map<String, String> additionalHeaders) Verify the Provisioning Connection Verifies the OAuth 2.0-based connection as part of the OAuth 2.0 consent flow.
-
Constructor Details
-
ApplicationConnectionsApi
public ApplicationConnectionsApi() -
ApplicationConnectionsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
activateDefaultProvisioningConnectionForApplication
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 ApiExceptionActivate 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
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 ApiExceptionDeactivate 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 ApiExceptionRetrieve 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 ApiExceptionUpdate 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 ApiExceptionVerify 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()
-