Package com.okta.sdk.resource.api
Class AuthorizationServerApi
java.lang.Object
com.okta.sdk.resource.api.AuthorizationServerApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class AuthorizationServerApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateAuthorizationServer
(String authServerId) Activate an Authorization Server Activates an authorization servervoid
activateAuthorizationServer
(String authServerId, Map<String, String> additionalHeaders) Activate an Authorization Server Activates an authorization servervoid
activateAuthorizationServerPolicy
(String authServerId, String policyId) Activate a Policy Activates an authorization server policyvoid
activateAuthorizationServerPolicy
(String authServerId, String policyId, Map<String, String> additionalHeaders) Activate a Policy Activates an authorization server policyvoid
activateAuthorizationServerPolicyRule
(String authServerId, String policyId, String ruleId) Activate a Policy Rule Activates an authorization server policy rulevoid
activateAuthorizationServerPolicyRule
(String authServerId, String policyId, String ruleId, Map<String, String> additionalHeaders) Activate a Policy Rule Activates an authorization server policy rulecreateAssociatedServers
(String authServerId, AssociatedServerMediated associatedServerMediated) Create the Associated Authorization Servers Creates the trusted relationships between the given authorization server and other authorization serverscreateAssociatedServers
(String authServerId, AssociatedServerMediated associatedServerMediated, Map<String, String> additionalHeaders) Create the Associated Authorization Servers Creates the trusted relationships between the given authorization server and other authorization serverscreateAuthorizationServer
(AuthorizationServer authorizationServer) Create an Authorization Server Creates an authorization servercreateAuthorizationServer
(AuthorizationServer authorizationServer, Map<String, String> additionalHeaders) Create an Authorization Server Creates an authorization servercreateAuthorizationServerPolicy
(String authServerId, AuthorizationServerPolicy policy) Create a Policy Creates a policycreateAuthorizationServerPolicy
(String authServerId, AuthorizationServerPolicy policy, Map<String, String> additionalHeaders) Create a Policy Creates a policycreateAuthorizationServerPolicyRule
(String authServerId, String policyId, AuthorizationServerPolicyRule policyRule) Create a Policy Rule Creates a policy rule for the specified Custom Authorization Server and PolicycreateAuthorizationServerPolicyRule
(String authServerId, String policyId, AuthorizationServerPolicyRule policyRule, Map<String, String> additionalHeaders) Create a Policy Rule Creates a policy rule for the specified Custom Authorization Server and PolicycreateOAuth2Claim
(String authServerId, OAuth2Claim oAuth2Claim) Create a Custom Token Claim Creates a custom token claimcreateOAuth2Claim
(String authServerId, OAuth2Claim oAuth2Claim, Map<String, String> additionalHeaders) Create a Custom Token Claim Creates a custom token claimcreateOAuth2Scope
(String authServerId, OAuth2Scope oAuth2Scope) Create a Custom Token Scope Creates a custom token scopecreateOAuth2Scope
(String authServerId, OAuth2Scope oAuth2Scope, Map<String, String> additionalHeaders) Create a Custom Token Scope Creates a custom token scopevoid
deactivateAuthorizationServer
(String authServerId) Deactivate an Authorization Server Deactivates an authorization servervoid
deactivateAuthorizationServer
(String authServerId, Map<String, String> additionalHeaders) Deactivate an Authorization Server Deactivates an authorization servervoid
deactivateAuthorizationServerPolicy
(String authServerId, String policyId) Deactivate a Policy Deactivates an authorization server policyvoid
deactivateAuthorizationServerPolicy
(String authServerId, String policyId, Map<String, String> additionalHeaders) Deactivate a Policy Deactivates an authorization server policyvoid
deactivateAuthorizationServerPolicyRule
(String authServerId, String policyId, String ruleId) Deactivate a Policy Rule Deactivates an authorization server policy rulevoid
deactivateAuthorizationServerPolicyRule
(String authServerId, String policyId, String ruleId, Map<String, String> additionalHeaders) Deactivate a Policy Rule Deactivates an authorization server policy rulevoid
deleteAssociatedServer
(String authServerId, String associatedServerId) Delete an Associated Authorization Server Deletes an associated authorization servervoid
deleteAssociatedServer
(String authServerId, String associatedServerId, Map<String, String> additionalHeaders) Delete an Associated Authorization Server Deletes an associated authorization servervoid
deleteAuthorizationServer
(String authServerId) Delete an Authorization Server Deletes an authorization servervoid
deleteAuthorizationServer
(String authServerId, Map<String, String> additionalHeaders) Delete an Authorization Server Deletes an authorization servervoid
deleteAuthorizationServerPolicy
(String authServerId, String policyId) Delete a Policy Deletes a policyvoid
deleteAuthorizationServerPolicy
(String authServerId, String policyId, Map<String, String> additionalHeaders) Delete a Policy Deletes a policyvoid
deleteAuthorizationServerPolicyRule
(String authServerId, String policyId, String ruleId) Delete a Policy Rule Deletes a Policy Rule defined in the specified Custom Authorization Server and Policyvoid
deleteAuthorizationServerPolicyRule
(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 Policyvoid
deleteOAuth2Claim
(String authServerId, String claimId) Delete a Custom Token Claim Deletes a custom token claimvoid
Delete a Custom Token Claim Deletes a custom token claimvoid
deleteOAuth2Scope
(String authServerId, String scopeId) Delete a Custom Token Scope Deletes a custom token scopevoid
Delete a Custom Token Scope Deletes a custom token scopegetAuthorizationServer
(String authServerId) Retrieve an Authorization Server Retrieves an authorization servergetAuthorizationServer
(String authServerId, Map<String, String> additionalHeaders) Retrieve an Authorization Server Retrieves an authorization servergetAuthorizationServerPolicy
(String authServerId, String policyId) Retrieve a Policy Retrieves a policygetAuthorizationServerPolicy
(String authServerId, String policyId, Map<String, String> additionalHeaders) Retrieve a Policy Retrieves a 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`getOAuth2Claim
(String authServerId, String claimId) Retrieve a Custom Token Claim Retrieves a custom token claimRetrieve a Custom Token Claim Retrieves a custom token claimgetOAuth2Scope
(String authServerId, String scopeId) Retrieve a Custom Token Scope Retrieves a custom token scopeRetrieve a Custom Token Scope Retrieves a custom token scopeprotected static com.fasterxml.jackson.databind.ObjectMapper
getRefreshTokenForAuthorizationServerAndClient
(String authServerId, String clientId, String tokenId, String expand) Retrieve a Refresh Token for a Client Retrieves a refresh token for a clientgetRefreshTokenForAuthorizationServerAndClient
(String authServerId, String clientId, String tokenId, String expand, Map<String, String> additionalHeaders) Retrieve a Refresh Token for a Client Retrieves a refresh token for a clientlistAssociatedServersByTrustedType
(String authServerId, Boolean trusted, String q, Integer limit, String after) List all Associated Authorization Servers Lists all associated authorization servers by trusted type for the given `authServerId`listAssociatedServersByTrustedType
(String authServerId, Boolean trusted, String q, Integer limit, String after, Map<String, String> additionalHeaders) List all Associated Authorization Servers Lists all associated authorization servers by trusted type for the given `authServerId`listAuthorizationServerKeys
(String authServerId) List all Credential Keys Lists all credential keyslistAuthorizationServerKeys
(String authServerId, Map<String, String> additionalHeaders) List all Credential Keys Lists all credential keyslistAuthorizationServerPolicies
(String authServerId) List all Policies Lists all policieslistAuthorizationServerPolicies
(String authServerId, Map<String, String> additionalHeaders) List all Policies Lists all policieslistAuthorizationServerPolicyRules
(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 PolicylistAuthorizationServers
(String q, Integer limit, String after) List all Authorization Servers Lists all authorization serverslistAuthorizationServers
(String q, Integer limit, String after, Map<String, String> additionalHeaders) List all Authorization Servers Lists all authorization serverslistOAuth2Claims
(String authServerId) List all Custom Token Claims Lists all custom token claimslistOAuth2Claims
(String authServerId, Map<String, String> additionalHeaders) List all Custom Token Claims Lists all custom token claimslistOAuth2ClientsForAuthorizationServer
(String authServerId) List all Clients Lists all clientslistOAuth2ClientsForAuthorizationServer
(String authServerId, Map<String, String> additionalHeaders) List all Clients Lists all clientsList all Custom Token Scopes Lists all custom token scopeslistOAuth2Scopes
(String authServerId, String q, String filter, String cursor, Integer limit, Map<String, String> additionalHeaders) List all Custom Token Scopes Lists all custom token scopeslistRefreshTokensForAuthorizationServerAndClient
(String authServerId, String clientId, String expand, String after, Integer limit) List all Refresh Tokens for a Client Lists all refresh tokens for a clientlistRefreshTokensForAuthorizationServerAndClient
(String authServerId, String clientId, String expand, String after, Integer limit, Map<String, String> additionalHeaders) List all Refresh Tokens for a Client Lists all refresh tokens for a clientreplaceAuthorizationServer
(String authServerId, AuthorizationServer authorizationServer) Replace an Authorization Server Replaces an authorization serverreplaceAuthorizationServer
(String authServerId, AuthorizationServer authorizationServer, Map<String, String> additionalHeaders) Replace an Authorization Server Replaces an authorization serverreplaceAuthorizationServerPolicy
(String authServerId, String policyId, AuthorizationServerPolicy policy) Replace a Policy Replaces a policyreplaceAuthorizationServerPolicy
(String authServerId, String policyId, AuthorizationServerPolicy policy, Map<String, String> additionalHeaders) Replace a Policy Replaces a policyreplaceAuthorizationServerPolicyRule
(String authServerId, String policyId, String ruleId, AuthorizationServerPolicyRule 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, AuthorizationServerPolicyRule policyRule, Map<String, String> additionalHeaders) Replace a Policy Rule Replaces the configuration of the Policy Rule defined in the specified Custom Authorization Server and PolicyreplaceOAuth2Claim
(String authServerId, String claimId, OAuth2Claim oAuth2Claim) Replace a Custom Token Claim Replaces a custom token claimreplaceOAuth2Claim
(String authServerId, String claimId, OAuth2Claim oAuth2Claim, Map<String, String> additionalHeaders) Replace a Custom Token Claim Replaces a custom token claimreplaceOAuth2Scope
(String authServerId, String scopeId, OAuth2Scope oAuth2Scope) Replace a Custom Token Scope Replaces a custom token scopereplaceOAuth2Scope
(String authServerId, String scopeId, OAuth2Scope oAuth2Scope, Map<String, String> additionalHeaders) Replace a Custom Token Scope Replaces a custom token scopevoid
revokeRefreshTokenForAuthorizationServerAndClient
(String authServerId, String clientId, String tokenId) Revoke a Refresh Token for a Client Revokes a refresh token for a clientvoid
revokeRefreshTokenForAuthorizationServerAndClient
(String authServerId, String clientId, String tokenId, Map<String, String> additionalHeaders) Revoke a Refresh Token for a Client Revokes a refresh token for a clientvoid
revokeRefreshTokensForAuthorizationServerAndClient
(String authServerId, String clientId) Revoke all Refresh Tokens for a Client Revokes all refresh tokens for a clientvoid
revokeRefreshTokensForAuthorizationServerAndClient
(String authServerId, String clientId, Map<String, String> additionalHeaders) Revoke all Refresh Tokens for a Client Revokes all refresh tokens for a clientrotateAuthorizationServerKeys
(String authServerId, JwkUse use) Rotate all Credential Keys Rotates all credential keysrotateAuthorizationServerKeys
(String authServerId, JwkUse use, Map<String, String> additionalHeaders) Rotate all Credential Keys Rotates all credential keysvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
AuthorizationServerApi
public AuthorizationServerApi() -
AuthorizationServerApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
activateAuthorizationServer
Activate an Authorization Server Activates an authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)- Throws:
ApiException
- if fails to make API call
-
activateAuthorizationServer
public void activateAuthorizationServer(String authServerId, Map<String, String> additionalHeaders) throws ApiExceptionActivate an Authorization Server Activates an authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
activateAuthorizationServerPolicy
public void activateAuthorizationServerPolicy(String authServerId, String policyId) throws ApiException Activate a Policy Activates an authorization server policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)- Throws:
ApiException
- if fails to make API call
-
activateAuthorizationServerPolicy
public void activateAuthorizationServerPolicy(String authServerId, String policyId, Map<String, String> additionalHeaders) throws ApiExceptionActivate a Policy Activates an authorization server policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
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
-
createAssociatedServers
public List<AuthorizationServer> createAssociatedServers(String authServerId, AssociatedServerMediated associatedServerMediated) throws ApiException Create the Associated Authorization Servers Creates the trusted relationships between the given authorization server and other authorization servers- Parameters:
authServerId
- `id` of the Authorization Server (required)associatedServerMediated
- (required)- Returns:
- List<AuthorizationServer>
- Throws:
ApiException
- if fails to make API call
-
createAssociatedServers
public List<AuthorizationServer> createAssociatedServers(String authServerId, AssociatedServerMediated associatedServerMediated, Map<String, String> additionalHeaders) throws ApiExceptionCreate the Associated Authorization Servers Creates the trusted relationships between the given authorization server and other authorization servers- Parameters:
authServerId
- `id` of the Authorization Server (required)associatedServerMediated
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<AuthorizationServer>
- Throws:
ApiException
- if fails to make API call
-
createAuthorizationServer
public AuthorizationServer createAuthorizationServer(AuthorizationServer authorizationServer) throws ApiException Create an Authorization Server Creates an authorization server- Parameters:
authorizationServer
- (required)- Returns:
- AuthorizationServer
- Throws:
ApiException
- if fails to make API call
-
createAuthorizationServer
public AuthorizationServer createAuthorizationServer(AuthorizationServer authorizationServer, Map<String, String> additionalHeaders) throws ApiExceptionCreate an Authorization Server Creates an authorization server- Parameters:
authorizationServer
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthorizationServer
- Throws:
ApiException
- if fails to make API call
-
createAuthorizationServerPolicy
public AuthorizationServerPolicy createAuthorizationServerPolicy(String authServerId, AuthorizationServerPolicy policy) throws ApiException Create a Policy Creates a policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policy
- (required)- Returns:
- AuthorizationServerPolicy
- Throws:
ApiException
- if fails to make API call
-
createAuthorizationServerPolicy
public AuthorizationServerPolicy createAuthorizationServerPolicy(String authServerId, AuthorizationServerPolicy policy, Map<String, String> additionalHeaders) throws ApiExceptionCreate a Policy Creates a policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policy
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthorizationServerPolicy
- Throws:
ApiException
- if fails to make API call
-
createAuthorizationServerPolicyRule
public AuthorizationServerPolicyRule createAuthorizationServerPolicyRule(String authServerId, String policyId, AuthorizationServerPolicyRule 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, AuthorizationServerPolicyRule 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
-
createOAuth2Claim
public OAuth2Claim createOAuth2Claim(String authServerId, OAuth2Claim oAuth2Claim) throws ApiException Create a Custom Token Claim Creates a custom token claim- Parameters:
authServerId
- `id` of the Authorization Server (required)oAuth2Claim
- (required)- Returns:
- OAuth2Claim
- Throws:
ApiException
- if fails to make API call
-
createOAuth2Claim
public OAuth2Claim createOAuth2Claim(String authServerId, OAuth2Claim oAuth2Claim, Map<String, String> additionalHeaders) throws ApiExceptionCreate a Custom Token Claim Creates a custom token claim- Parameters:
authServerId
- `id` of the Authorization Server (required)oAuth2Claim
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- OAuth2Claim
- Throws:
ApiException
- if fails to make API call
-
createOAuth2Scope
public OAuth2Scope createOAuth2Scope(String authServerId, OAuth2Scope oAuth2Scope) throws ApiException Create a Custom Token Scope Creates a custom token scope- Parameters:
authServerId
- `id` of the Authorization Server (required)oAuth2Scope
- (required)- Returns:
- OAuth2Scope
- Throws:
ApiException
- if fails to make API call
-
createOAuth2Scope
public OAuth2Scope createOAuth2Scope(String authServerId, OAuth2Scope oAuth2Scope, Map<String, String> additionalHeaders) throws ApiExceptionCreate a Custom Token Scope Creates a custom token scope- Parameters:
authServerId
- `id` of the Authorization Server (required)oAuth2Scope
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- OAuth2Scope
- Throws:
ApiException
- if fails to make API call
-
deactivateAuthorizationServer
Deactivate an Authorization Server Deactivates an authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)- Throws:
ApiException
- if fails to make API call
-
deactivateAuthorizationServer
public void deactivateAuthorizationServer(String authServerId, Map<String, String> additionalHeaders) throws ApiExceptionDeactivate an Authorization Server Deactivates an authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deactivateAuthorizationServerPolicy
public void deactivateAuthorizationServerPolicy(String authServerId, String policyId) throws ApiException Deactivate a Policy Deactivates an authorization server policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)- Throws:
ApiException
- if fails to make API call
-
deactivateAuthorizationServerPolicy
public void deactivateAuthorizationServerPolicy(String authServerId, String policyId, Map<String, String> additionalHeaders) throws ApiExceptionDeactivate a Policy Deactivates an authorization server policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)additionalHeaders
- additionalHeaders for this call- 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
-
deleteAssociatedServer
public void deleteAssociatedServer(String authServerId, String associatedServerId) throws ApiException Delete an Associated Authorization Server Deletes an associated authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)associatedServerId
- `id` of the associated Authorization Server (required)- Throws:
ApiException
- if fails to make API call
-
deleteAssociatedServer
public void deleteAssociatedServer(String authServerId, String associatedServerId, Map<String, String> additionalHeaders) throws ApiExceptionDelete an Associated Authorization Server Deletes an associated authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)associatedServerId
- `id` of the associated Authorization Server (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deleteAuthorizationServer
Delete an Authorization Server Deletes an authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)- Throws:
ApiException
- if fails to make API call
-
deleteAuthorizationServer
public void deleteAuthorizationServer(String authServerId, Map<String, String> additionalHeaders) throws ApiExceptionDelete an Authorization Server Deletes an authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deleteAuthorizationServerPolicy
public void deleteAuthorizationServerPolicy(String authServerId, String policyId) throws ApiException Delete a Policy Deletes a policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)- Throws:
ApiException
- if fails to make API call
-
deleteAuthorizationServerPolicy
public void deleteAuthorizationServerPolicy(String authServerId, String policyId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Policy Deletes a policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (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
-
deleteOAuth2Claim
Delete a Custom Token Claim Deletes a custom token claim- Parameters:
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)- Throws:
ApiException
- if fails to make API call
-
deleteOAuth2Claim
public void deleteOAuth2Claim(String authServerId, String claimId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Custom Token Claim Deletes a custom token claim- Parameters:
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deleteOAuth2Scope
Delete a Custom Token Scope Deletes a custom token scope- Parameters:
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)- Throws:
ApiException
- if fails to make API call
-
deleteOAuth2Scope
public void deleteOAuth2Scope(String authServerId, String scopeId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Custom Token Scope Deletes a custom token scope- Parameters:
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getAuthorizationServer
Retrieve an Authorization Server Retrieves an authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)- Returns:
- AuthorizationServer
- Throws:
ApiException
- if fails to make API call
-
getAuthorizationServer
public AuthorizationServer getAuthorizationServer(String authServerId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Authorization Server Retrieves an authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthorizationServer
- Throws:
ApiException
- if fails to make API call
-
getAuthorizationServerPolicy
public AuthorizationServerPolicy getAuthorizationServerPolicy(String authServerId, String policyId) throws ApiException Retrieve a Policy Retrieves a policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)- Returns:
- AuthorizationServerPolicy
- Throws:
ApiException
- if fails to make API call
-
getAuthorizationServerPolicy
public AuthorizationServerPolicy getAuthorizationServerPolicy(String authServerId, String policyId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Policy Retrieves a policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthorizationServerPolicy
- 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
-
getOAuth2Claim
Retrieve a Custom Token Claim Retrieves a custom token claim- Parameters:
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)- Returns:
- OAuth2Claim
- Throws:
ApiException
- if fails to make API call
-
getOAuth2Claim
public OAuth2Claim getOAuth2Claim(String authServerId, String claimId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Custom Token Claim Retrieves a custom token claim- Parameters:
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)additionalHeaders
- additionalHeaders for this call- Returns:
- OAuth2Claim
- Throws:
ApiException
- if fails to make API call
-
getOAuth2Scope
Retrieve a Custom Token Scope Retrieves a custom token scope- Parameters:
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)- Returns:
- OAuth2Scope
- Throws:
ApiException
- if fails to make API call
-
getOAuth2Scope
public OAuth2Scope getOAuth2Scope(String authServerId, String scopeId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Custom Token Scope Retrieves a custom token scope- Parameters:
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)additionalHeaders
- additionalHeaders for this call- Returns:
- OAuth2Scope
- Throws:
ApiException
- if fails to make API call
-
getRefreshTokenForAuthorizationServerAndClient
public OAuth2RefreshToken getRefreshTokenForAuthorizationServerAndClient(String authServerId, String clientId, String tokenId, String expand) throws ApiException Retrieve a Refresh Token for a Client Retrieves a refresh token for a client- Parameters:
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)tokenId
- `id` of Token (required)expand
- (optional)- Returns:
- OAuth2RefreshToken
- Throws:
ApiException
- if fails to make API call
-
getRefreshTokenForAuthorizationServerAndClient
public OAuth2RefreshToken getRefreshTokenForAuthorizationServerAndClient(String authServerId, String clientId, String tokenId, String expand, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Refresh Token for a Client Retrieves a refresh token for a client- Parameters:
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)tokenId
- `id` of Token (required)expand
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- OAuth2RefreshToken
- Throws:
ApiException
- if fails to make API call
-
listAssociatedServersByTrustedType
public List<AuthorizationServer> listAssociatedServersByTrustedType(String authServerId, Boolean trusted, String q, Integer limit, String after) throws ApiException List all Associated Authorization Servers Lists all associated authorization servers by trusted type for the given `authServerId`- Parameters:
authServerId
- `id` of the Authorization Server (required)trusted
- Searches trusted authorization servers when true, or searches untrusted authorization servers when false (optional)q
- Searches the name or audience of the associated authorization servers (optional)limit
- Specifies the number of results for a page (optional, default to 200)after
- Specifies the pagination cursor for the next page of the associated authorization servers (optional)- Returns:
- List<AuthorizationServer>
- Throws:
ApiException
- if fails to make API call
-
listAssociatedServersByTrustedType
public List<AuthorizationServer> listAssociatedServersByTrustedType(String authServerId, Boolean trusted, String q, Integer limit, String after, Map<String, String> additionalHeaders) throws ApiExceptionList all Associated Authorization Servers Lists all associated authorization servers by trusted type for the given `authServerId`- Parameters:
authServerId
- `id` of the Authorization Server (required)trusted
- Searches trusted authorization servers when true, or searches untrusted authorization servers when false (optional)q
- Searches the name or audience of the associated authorization servers (optional)limit
- Specifies the number of results for a page (optional, default to 200)after
- Specifies the pagination cursor for the next page of the associated authorization servers (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- List<AuthorizationServer>
- Throws:
ApiException
- if fails to make API call
-
listAuthorizationServerKeys
List all Credential Keys Lists all credential keys- Parameters:
authServerId
- `id` of the Authorization Server (required)- Returns:
- List<JsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
listAuthorizationServerKeys
public List<JsonWebKey> listAuthorizationServerKeys(String authServerId, Map<String, String> additionalHeaders) throws ApiExceptionList all Credential Keys Lists all credential keys- Parameters:
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<JsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
listAuthorizationServerPolicies
public List<AuthorizationServerPolicy> listAuthorizationServerPolicies(String authServerId) throws ApiException List all Policies Lists all policies- Parameters:
authServerId
- `id` of the Authorization Server (required)- Returns:
- List<AuthorizationServerPolicy>
- Throws:
ApiException
- if fails to make API call
-
listAuthorizationServerPolicies
public List<AuthorizationServerPolicy> listAuthorizationServerPolicies(String authServerId, Map<String, String> additionalHeaders) throws ApiExceptionList all Policies Lists all policies- Parameters:
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<AuthorizationServerPolicy>
- 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
-
listAuthorizationServers
public List<AuthorizationServer> listAuthorizationServers(String q, Integer limit, String after) throws ApiException List all Authorization Servers Lists all authorization servers- Parameters:
q
- (optional)limit
- (optional, default to 200)after
- (optional)- Returns:
- List<AuthorizationServer>
- Throws:
ApiException
- if fails to make API call
-
listAuthorizationServers
public List<AuthorizationServer> listAuthorizationServers(String q, Integer limit, String after, Map<String, String> additionalHeaders) throws ApiExceptionList all Authorization Servers Lists all authorization servers- Parameters:
q
- (optional)limit
- (optional, default to 200)after
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- List<AuthorizationServer>
- Throws:
ApiException
- if fails to make API call
-
listOAuth2Claims
List all Custom Token Claims Lists all custom token claims- Parameters:
authServerId
- `id` of the Authorization Server (required)- Returns:
- List<OAuth2Claim>
- Throws:
ApiException
- if fails to make API call
-
listOAuth2Claims
public List<OAuth2Claim> listOAuth2Claims(String authServerId, Map<String, String> additionalHeaders) throws ApiExceptionList all Custom Token Claims Lists all custom token claims- Parameters:
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<OAuth2Claim>
- Throws:
ApiException
- if fails to make API call
-
listOAuth2ClientsForAuthorizationServer
public List<OAuth2Client> listOAuth2ClientsForAuthorizationServer(String authServerId) throws ApiException List all Clients Lists all clients- Parameters:
authServerId
- `id` of the Authorization Server (required)- Returns:
- List<OAuth2Client>
- Throws:
ApiException
- if fails to make API call
-
listOAuth2ClientsForAuthorizationServer
public List<OAuth2Client> listOAuth2ClientsForAuthorizationServer(String authServerId, Map<String, String> additionalHeaders) throws ApiExceptionList all Clients Lists all clients- Parameters:
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<OAuth2Client>
- Throws:
ApiException
- if fails to make API call
-
listOAuth2Scopes
public List<OAuth2Scope> listOAuth2Scopes(String authServerId, String q, String filter, String cursor, Integer limit) throws ApiException List all Custom Token Scopes Lists all custom token scopes- Parameters:
authServerId
- `id` of the Authorization Server (required)q
- (optional)filter
- (optional)cursor
- (optional)limit
- (optional, default to -1)- Returns:
- List<OAuth2Scope>
- Throws:
ApiException
- if fails to make API call
-
listOAuth2Scopes
public List<OAuth2Scope> listOAuth2Scopes(String authServerId, String q, String filter, String cursor, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Custom Token Scopes Lists all custom token scopes- Parameters:
authServerId
- `id` of the Authorization Server (required)q
- (optional)filter
- (optional)cursor
- (optional)limit
- (optional, default to -1)additionalHeaders
- additionalHeaders for this call- Returns:
- List<OAuth2Scope>
- Throws:
ApiException
- if fails to make API call
-
listRefreshTokensForAuthorizationServerAndClient
public List<OAuth2RefreshToken> listRefreshTokensForAuthorizationServerAndClient(String authServerId, String clientId, String expand, String after, Integer limit) throws ApiException List all Refresh Tokens for a Client Lists all refresh tokens for a client- Parameters:
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)expand
- (optional)after
- (optional)limit
- (optional, default to -1)- Returns:
- List<OAuth2RefreshToken>
- Throws:
ApiException
- if fails to make API call
-
listRefreshTokensForAuthorizationServerAndClient
public List<OAuth2RefreshToken> listRefreshTokensForAuthorizationServerAndClient(String authServerId, String clientId, String expand, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Refresh Tokens for a Client Lists all refresh tokens for a client- Parameters:
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)expand
- (optional)after
- (optional)limit
- (optional, default to -1)additionalHeaders
- additionalHeaders for this call- Returns:
- List<OAuth2RefreshToken>
- Throws:
ApiException
- if fails to make API call
-
replaceAuthorizationServer
public AuthorizationServer replaceAuthorizationServer(String authServerId, AuthorizationServer authorizationServer) throws ApiException Replace an Authorization Server Replaces an authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)authorizationServer
- (required)- Returns:
- AuthorizationServer
- Throws:
ApiException
- if fails to make API call
-
replaceAuthorizationServer
public AuthorizationServer replaceAuthorizationServer(String authServerId, AuthorizationServer authorizationServer, Map<String, String> additionalHeaders) throws ApiExceptionReplace an Authorization Server Replaces an authorization server- Parameters:
authServerId
- `id` of the Authorization Server (required)authorizationServer
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthorizationServer
- Throws:
ApiException
- if fails to make API call
-
replaceAuthorizationServerPolicy
public AuthorizationServerPolicy replaceAuthorizationServerPolicy(String authServerId, String policyId, AuthorizationServerPolicy policy) throws ApiException Replace a Policy Replaces a policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)policy
- (required)- Returns:
- AuthorizationServerPolicy
- Throws:
ApiException
- if fails to make API call
-
replaceAuthorizationServerPolicy
public AuthorizationServerPolicy replaceAuthorizationServerPolicy(String authServerId, String policyId, AuthorizationServerPolicy policy, Map<String, String> additionalHeaders) throws ApiExceptionReplace a Policy Replaces a policy- Parameters:
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)policy
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthorizationServerPolicy
- Throws:
ApiException
- if fails to make API call
-
replaceAuthorizationServerPolicyRule
public AuthorizationServerPolicyRule replaceAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, AuthorizationServerPolicyRule 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, AuthorizationServerPolicyRule 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
-
replaceOAuth2Claim
public OAuth2Claim replaceOAuth2Claim(String authServerId, String claimId, OAuth2Claim oAuth2Claim) throws ApiException Replace a Custom Token Claim Replaces a custom token claim- Parameters:
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)oAuth2Claim
- (required)- Returns:
- OAuth2Claim
- Throws:
ApiException
- if fails to make API call
-
replaceOAuth2Claim
public OAuth2Claim replaceOAuth2Claim(String authServerId, String claimId, OAuth2Claim oAuth2Claim, Map<String, String> additionalHeaders) throws ApiExceptionReplace a Custom Token Claim Replaces a custom token claim- Parameters:
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)oAuth2Claim
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- OAuth2Claim
- Throws:
ApiException
- if fails to make API call
-
replaceOAuth2Scope
public OAuth2Scope replaceOAuth2Scope(String authServerId, String scopeId, OAuth2Scope oAuth2Scope) throws ApiException Replace a Custom Token Scope Replaces a custom token scope- Parameters:
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)oAuth2Scope
- (required)- Returns:
- OAuth2Scope
- Throws:
ApiException
- if fails to make API call
-
replaceOAuth2Scope
public OAuth2Scope replaceOAuth2Scope(String authServerId, String scopeId, OAuth2Scope oAuth2Scope, Map<String, String> additionalHeaders) throws ApiExceptionReplace a Custom Token Scope Replaces a custom token scope- Parameters:
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)oAuth2Scope
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- OAuth2Scope
- Throws:
ApiException
- if fails to make API call
-
revokeRefreshTokenForAuthorizationServerAndClient
public void revokeRefreshTokenForAuthorizationServerAndClient(String authServerId, String clientId, String tokenId) throws ApiException Revoke a Refresh Token for a Client Revokes a refresh token for a client- Parameters:
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)tokenId
- `id` of Token (required)- Throws:
ApiException
- if fails to make API call
-
revokeRefreshTokenForAuthorizationServerAndClient
public void revokeRefreshTokenForAuthorizationServerAndClient(String authServerId, String clientId, String tokenId, Map<String, String> additionalHeaders) throws ApiExceptionRevoke a Refresh Token for a Client Revokes a refresh token for a client- Parameters:
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)tokenId
- `id` of Token (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
revokeRefreshTokensForAuthorizationServerAndClient
public void revokeRefreshTokensForAuthorizationServerAndClient(String authServerId, String clientId) throws ApiException Revoke all Refresh Tokens for a Client Revokes all refresh tokens for a client- Parameters:
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)- Throws:
ApiException
- if fails to make API call
-
revokeRefreshTokensForAuthorizationServerAndClient
public void revokeRefreshTokensForAuthorizationServerAndClient(String authServerId, String clientId, Map<String, String> additionalHeaders) throws ApiExceptionRevoke all Refresh Tokens for a Client Revokes all refresh tokens for a client- Parameters:
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
rotateAuthorizationServerKeys
public List<JsonWebKey> rotateAuthorizationServerKeys(String authServerId, JwkUse use) throws ApiException Rotate all Credential Keys Rotates all credential keys- Parameters:
authServerId
- `id` of the Authorization Server (required)use
- (required)- Returns:
- List<JsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
rotateAuthorizationServerKeys
public List<JsonWebKey> rotateAuthorizationServerKeys(String authServerId, JwkUse use, Map<String, String> additionalHeaders) throws ApiExceptionRotate all Credential Keys Rotates all credential keys- Parameters:
authServerId
- `id` of the Authorization Server (required)use
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<JsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-