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="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class AuthorizationServerAssocApi
extends Object
-
Constructor Summary
-
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 serversvoid
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 Serverprotected static com.fasterxml.jackson.databind.ObjectMapper
listAssociatedServersByTrustedType
(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`void
setApiClient
(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
-
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
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-