Package com.okta.sdk.resource.api
Class AuthorizationServerKeysApi
java.lang.Object
com.okta.sdk.resource.api.AuthorizationServerKeysApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-09T14:19:33.269913-05:00[America/Chicago]",
comments="Generator version: 7.7.0")
public class AuthorizationServerKeysApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static com.fasterxml.jackson.databind.ObjectMapper
listAuthorizationServerKeys
(String authServerId) List all Credential Keys Lists all credential keyslistAuthorizationServerKeys
(String authServerId, Map<String, String> additionalHeaders) List all Credential Keys Lists all credential keysrotateAuthorizationServerKeys
(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
-
AuthorizationServerKeysApi
public AuthorizationServerKeysApi() -
AuthorizationServerKeysApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
listAuthorizationServerKeys
public List<AuthorizationServerJsonWebKey> listAuthorizationServerKeys(String authServerId) throws ApiException List all Credential Keys Lists all credential keys- Parameters:
authServerId
- `id` of the Authorization Server (required)- Returns:
- List<AuthorizationServerJsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
listAuthorizationServerKeys
public List<AuthorizationServerJsonWebKey> 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<AuthorizationServerJsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
rotateAuthorizationServerKeys
public List<AuthorizationServerJsonWebKey> 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<AuthorizationServerJsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
rotateAuthorizationServerKeys
public List<AuthorizationServerJsonWebKey> 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<AuthorizationServerJsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-