Package com.okta.sdk.resource.api
Class AuthorizationServerAssocApi
java.lang.Object
com.okta.sdk.resource.api.AuthorizationServerAssocApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class AuthorizationServerAssocApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAssociatedServers(String authServerId, AssociatedServerMediated associatedServerMediated) Create an associated authorization server Creates trusted relationships between the given authorization server and other authorization serverscreateAssociatedServers(String authServerId, AssociatedServerMediated associatedServerMediated, Map<String, String> additionalHeaders) Create an associated authorization server Creates trusted relationships between the given authorization server and other authorization serverscreateAssociatedServersPaged(String authServerId, AssociatedServerMediated associatedServerMediated) Create an associated authorization server (Paginated) Creates trusted relationships between the given authorization server and other authorization servers This method returns a lazy, paginated iterable that automatically handles pagination.createAssociatedServersPaged(String authServerId, AssociatedServerMediated associatedServerMediated, Map<String, String> additionalHeaders) Create an associated authorization server (Paginated with additional headers) Creates trusted relationships between the given authorization server and other authorization servers This method returns a lazy, paginated iterable that automatically handles pagination.voiddeleteAssociatedServer(String authServerId, String associatedServerId) Delete an associated authorization server Deletes an associated Authorization ServervoiddeleteAssociatedServer(String authServerId, String associatedServerId, Map<String, String> additionalHeaders) Delete an associated authorization server Deletes an associated Authorization Serverprotected static com.fasterxml.jackson.databind.ObjectMapperlistAssociatedServersByTrustedType(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`listAssociatedServersByTrustedTypePaged(String authServerId, Boolean trusted, String q, Integer limit, String after) List all associated authorization servers (Paginated) Lists all associated Authorization Servers by trusted type for the given `authServerId` This method returns a lazy, paginated iterable that automatically handles pagination.listAssociatedServersByTrustedTypePaged(String authServerId, Boolean trusted, String q, Integer limit, String after, Map<String, String> additionalHeaders) List all associated authorization servers (Paginated with additional headers) Lists all associated Authorization Servers by trusted type for the given `authServerId` This method returns a lazy, paginated iterable that automatically handles pagination.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
AuthorizationServerAssocApi
public AuthorizationServerAssocApi() -
AuthorizationServerAssocApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 ApiExceptionCreate 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
-
createAssociatedServersPaged
public Iterable<AuthorizationServer> createAssociatedServersPaged(String authServerId, AssociatedServerMediated associatedServerMediated) Create an associated authorization server (Paginated) Creates trusted relationships between the given authorization server and other authorization servers This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks. Use this method in a for-each loop to automatically fetch all pages without manual cursor management.- Parameters:
authServerId- `id` of the Authorization Server (required)associatedServerMediated- (required)- Returns:
- Iterable<AuthorizationServer> lazy iterable over all pages
-
createAssociatedServersPaged
public Iterable<AuthorizationServer> createAssociatedServersPaged(String authServerId, AssociatedServerMediated associatedServerMediated, Map<String, String> additionalHeaders) Create an associated authorization server (Paginated with additional headers) Creates trusted relationships between the given authorization server and other authorization servers This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks.- Parameters:
authServerId- `id` of the Authorization Server (required)associatedServerMediated- (required)additionalHeaders- additional headers for this call- Returns:
- Iterable<AuthorizationServer> lazy iterable over all pages
-
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
-
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 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 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
-
listAssociatedServersByTrustedTypePaged
public Iterable<AuthorizationServer> listAssociatedServersByTrustedTypePaged(String authServerId, Boolean trusted, String q, Integer limit, String after) List all associated authorization servers (Paginated) Lists all associated Authorization Servers by trusted type for the given `authServerId` This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks. Use this method in a for-each loop to automatically fetch all pages without manual cursor management.- 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:
- Iterable<AuthorizationServer> lazy iterable over all pages
-
listAssociatedServersByTrustedTypePaged
public Iterable<AuthorizationServer> listAssociatedServersByTrustedTypePaged(String authServerId, Boolean trusted, String q, Integer limit, String after, Map<String, String> additionalHeaders) List all associated authorization servers (Paginated with additional headers) Lists all associated Authorization Servers by trusted type for the given `authServerId` This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks.- 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- additional headers for this call- Returns:
- Iterable<AuthorizationServer> lazy iterable over all pages
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-