Package com.okta.sdk.resource.api
Class AuthorizationServerRulesApi
java.lang.Object
com.okta.sdk.resource.api.AuthorizationServerRulesApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class AuthorizationServerRulesApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) Activate a Policy Rule Activates an authorization server policy rulevoidactivateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String, String> additionalHeaders) Activate a Policy Rule Activates an authorization server policy rulecreateAuthorizationServerPolicyRule(String authServerId, String policyId, AuthorizationServerPolicyRuleRequest policyRule) Create a Policy Rule Creates a policy rule for the specified Custom Authorization Server and PolicycreateAuthorizationServerPolicyRule(String authServerId, String policyId, AuthorizationServerPolicyRuleRequest policyRule, Map<String, String> additionalHeaders) Create a Policy Rule Creates a policy rule for the specified Custom Authorization Server and PolicyvoiddeactivateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) Deactivate a Policy Rule Deactivates an authorization server policy rulevoiddeactivateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String, String> additionalHeaders) Deactivate a Policy Rule Deactivates an authorization server policy rulevoiddeleteAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) Delete a Policy Rule Deletes a Policy Rule defined in the specified Custom Authorization Server and PolicyvoiddeleteAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String, String> additionalHeaders) Delete a Policy Rule Deletes a Policy Rule defined in the specified Custom Authorization Server and PolicygetAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) Retrieve a Policy Rule Retrieves a policy rule by `ruleId`getAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String, String> additionalHeaders) Retrieve a Policy Rule Retrieves a policy rule by `ruleId`protected static com.fasterxml.jackson.databind.ObjectMapperlistAuthorizationServerPolicyRules(String authServerId, String policyId) List all Policy Rules Lists all policy rules for the specified Custom Authorization Server and PolicylistAuthorizationServerPolicyRules(String authServerId, String policyId, Map<String, String> additionalHeaders) List all Policy Rules Lists all policy rules for the specified Custom Authorization Server and PolicyreplaceAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, AuthorizationServerPolicyRuleRequest policyRule) Replace a Policy Rule Replaces the configuration of the Policy Rule defined in the specified Custom Authorization Server and PolicyreplaceAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, AuthorizationServerPolicyRuleRequest policyRule, Map<String, String> additionalHeaders) Replace a Policy Rule Replaces the configuration of the Policy Rule defined in the specified Custom Authorization Server and PolicyvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
AuthorizationServerRulesApi
public AuthorizationServerRulesApi() -
AuthorizationServerRulesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
activateAuthorizationServerPolicyRule
public void activateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) throws ApiException Activate a Policy Rule Activates an authorization server policy rule- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)ruleId- `id` of the Policy Rule (required)- Throws:
ApiException- if fails to make API call
-
activateAuthorizationServerPolicyRule
public void activateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String, String> additionalHeaders) throws ApiExceptionActivate a Policy Rule Activates an authorization server policy rule- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)ruleId- `id` of the Policy Rule (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
createAuthorizationServerPolicyRule
public AuthorizationServerPolicyRule createAuthorizationServerPolicyRule(String authServerId, String policyId, AuthorizationServerPolicyRuleRequest policyRule) throws ApiException Create a Policy Rule Creates a policy rule for the specified Custom Authorization Server and Policy- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)policyRule- (required)- Returns:
- AuthorizationServerPolicyRule
- Throws:
ApiException- if fails to make API call
-
createAuthorizationServerPolicyRule
public AuthorizationServerPolicyRule createAuthorizationServerPolicyRule(String authServerId, String policyId, AuthorizationServerPolicyRuleRequest policyRule, Map<String, String> additionalHeaders) throws ApiExceptionCreate a Policy Rule Creates a policy rule for the specified Custom Authorization Server and Policy- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)policyRule- (required)additionalHeaders- additionalHeaders for this call- Returns:
- AuthorizationServerPolicyRule
- Throws:
ApiException- if fails to make API call
-
deactivateAuthorizationServerPolicyRule
public void deactivateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) throws ApiException Deactivate a Policy Rule Deactivates an authorization server policy rule- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)ruleId- `id` of the Policy Rule (required)- Throws:
ApiException- if fails to make API call
-
deactivateAuthorizationServerPolicyRule
public void deactivateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String, String> additionalHeaders) throws ApiExceptionDeactivate a Policy Rule Deactivates an authorization server policy rule- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)ruleId- `id` of the Policy Rule (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
deleteAuthorizationServerPolicyRule
public void deleteAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) throws ApiException Delete a Policy Rule Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)ruleId- `id` of the Policy Rule (required)- Throws:
ApiException- if fails to make API call
-
deleteAuthorizationServerPolicyRule
public void deleteAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Policy Rule Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)ruleId- `id` of the Policy Rule (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
getAuthorizationServerPolicyRule
public AuthorizationServerPolicyRule getAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) throws ApiException Retrieve a Policy Rule Retrieves a policy rule by `ruleId`- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)ruleId- `id` of the Policy Rule (required)- Returns:
- AuthorizationServerPolicyRule
- Throws:
ApiException- if fails to make API call
-
getAuthorizationServerPolicyRule
public AuthorizationServerPolicyRule getAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Policy Rule Retrieves a policy rule by `ruleId`- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)ruleId- `id` of the Policy Rule (required)additionalHeaders- additionalHeaders for this call- Returns:
- AuthorizationServerPolicyRule
- Throws:
ApiException- if fails to make API call
-
listAuthorizationServerPolicyRules
public List<AuthorizationServerPolicyRule> listAuthorizationServerPolicyRules(String authServerId, String policyId) throws ApiException List all Policy Rules Lists all policy rules for the specified Custom Authorization Server and Policy- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)- Returns:
- List<AuthorizationServerPolicyRule>
- Throws:
ApiException- if fails to make API call
-
listAuthorizationServerPolicyRules
public List<AuthorizationServerPolicyRule> listAuthorizationServerPolicyRules(String authServerId, String policyId, Map<String, String> additionalHeaders) throws ApiExceptionList all Policy Rules Lists all policy rules for the specified Custom Authorization Server and Policy- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)additionalHeaders- additionalHeaders for this call- Returns:
- List<AuthorizationServerPolicyRule>
- Throws:
ApiException- if fails to make API call
-
replaceAuthorizationServerPolicyRule
public AuthorizationServerPolicyRule replaceAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, AuthorizationServerPolicyRuleRequest policyRule) throws ApiException Replace a Policy Rule Replaces the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)ruleId- `id` of the Policy Rule (required)policyRule- (required)- Returns:
- AuthorizationServerPolicyRule
- Throws:
ApiException- if fails to make API call
-
replaceAuthorizationServerPolicyRule
public AuthorizationServerPolicyRule replaceAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, AuthorizationServerPolicyRuleRequest policyRule, Map<String, String> additionalHeaders) throws ApiExceptionReplace a Policy Rule Replaces the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy- Parameters:
authServerId- `id` of the Authorization Server (required)policyId- `id` of the Policy (required)ruleId- `id` of the Policy Rule (required)policyRule- (required)additionalHeaders- additionalHeaders for this call- Returns:
- AuthorizationServerPolicyRule
- Throws:
ApiException- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-