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 Details

    • AuthorizationServerApi

      public AuthorizationServerApi()
    • AuthorizationServerApi

      public AuthorizationServerApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • activateAuthorizationServer

      public void activateAuthorizationServer(String authServerId) throws ApiException
      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 ApiException
      Activate 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 ApiException
      Activate 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 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)
      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 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)
      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 ApiException
      Create 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 ApiException
      Create 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 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)
      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 ApiException
      Create 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 ApiException
      Create 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

      public void deactivateAuthorizationServer(String authServerId) throws ApiException
      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 ApiException
      Deactivate 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 ApiException
      Deactivate 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 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)
      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 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)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • deleteAuthorizationServer

      public void deleteAuthorizationServer(String authServerId) throws ApiException
      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 ApiException
      Delete 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 ApiException
      Delete 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 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)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • deleteOAuth2Claim

      public void deleteOAuth2Claim(String authServerId, String claimId) throws ApiException
      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 ApiException
      Delete 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

      public void deleteOAuth2Scope(String authServerId, String scopeId) throws ApiException
      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 ApiException
      Delete 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

      public AuthorizationServer getAuthorizationServer(String authServerId) throws ApiException
      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 ApiException
      Retrieve 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 ApiException
      Retrieve 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 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)
      additionalHeaders - additionalHeaders for this call
      Returns:
      AuthorizationServerPolicyRule
      Throws:
      ApiException - if fails to make API call
    • getOAuth2Claim

      public OAuth2Claim getOAuth2Claim(String authServerId, String claimId) throws ApiException
      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 ApiException
      Retrieve 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

      public OAuth2Scope getOAuth2Scope(String authServerId, String scopeId) throws ApiException
      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 ApiException
      Retrieve 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 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)
      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 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)
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<AuthorizationServer>
      Throws:
      ApiException - if fails to make API call
    • listAuthorizationServerKeys

      public List<JsonWebKey> listAuthorizationServerKeys(String authServerId) throws ApiException
      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 ApiException
      List 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 ApiException
      List 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 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)
      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 ApiException
      List 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

      public List<OAuth2Claim> listOAuth2Claims(String authServerId) throws ApiException
      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 ApiException
      List 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 ApiException
      List 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 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)
      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 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)
      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 ApiException
      Replace 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 ApiException
      Replace 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 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)
      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 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)
      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 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)
      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 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)
      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 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)
      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 ApiException
      Rotate 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()