Class AuthorizationServerAssocApi

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

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

    • AuthorizationServerAssocApi

      public AuthorizationServerAssocApi()
    • AuthorizationServerAssocApi

      public AuthorizationServerAssocApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createAssociatedServers

      public List<AuthorizationServer> createAssociatedServers(String authServerId, AssociatedServerMediated associatedServerMediated) throws ApiException
      Create an associated Authorization Server Creates 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 an associated Authorization Server Creates 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
    • 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
    • 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 for 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 for 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
    • getObjectMapper

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