@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class HookKeyApi extends Object
Constructor and Description |
---|
HookKeyApi() |
HookKeyApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
HookKey |
createHookKey(KeyRequest keyRequest)
Create a key
Creates a key for use with other parts of the application, such as inline hooks Use the key name to access this key for inline hook operations.
|
HookKey |
createHookKey(KeyRequest keyRequest,
Map<String,String> additionalHeaders)
Create a key
Creates a key for use with other parts of the application, such as inline hooks Use the key name to access this key for inline hook operations.
|
void |
deleteHookKey(String hookKeyId)
Delete a key
Deletes a key by `hookKeyId`.
|
void |
deleteHookKey(String hookKeyId,
Map<String,String> additionalHeaders)
Delete a key
Deletes a key by `hookKeyId`.
|
ApiClient |
getApiClient() |
HookKey |
getHookKey(String hookKeyId)
Retrieve a key
Retrieves a key by `hookKeyId`
|
HookKey |
getHookKey(String hookKeyId,
Map<String,String> additionalHeaders)
Retrieve a key
Retrieves a key by `hookKeyId`
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
JsonWebKey |
getPublicKey(String publicKeyId)
Retrieve a public key
Retrieves a public key by `keyId`
|
JsonWebKey |
getPublicKey(String publicKeyId,
Map<String,String> additionalHeaders)
Retrieve a public key
Retrieves a public key by `keyId`
|
List<HookKey> |
listHookKeys()
List all keys
Lists all keys
|
List<HookKey> |
listHookKeys(Map<String,String> additionalHeaders)
List all keys
Lists all keys
|
HookKey |
replaceHookKey(String hookKeyId,
KeyRequest keyRequest)
Replace a key
Replaces a key by `hookKeyId` This request replaces existing properties after passing validation.
|
HookKey |
replaceHookKey(String hookKeyId,
KeyRequest keyRequest,
Map<String,String> additionalHeaders)
Replace a key
Replaces a key by `hookKeyId` This request replaces existing properties after passing validation.
|
void |
setApiClient(ApiClient apiClient) |
public HookKeyApi()
public HookKeyApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public HookKey createHookKey(KeyRequest keyRequest) throws ApiException
keyRequest
- (required)ApiException
- if fails to make API callpublic HookKey createHookKey(KeyRequest keyRequest, Map<String,String> additionalHeaders) throws ApiException
keyRequest
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteHookKey(String hookKeyId) throws ApiException
hookKeyId
- `id` of the Hook Key (required)ApiException
- if fails to make API callpublic void deleteHookKey(String hookKeyId, Map<String,String> additionalHeaders) throws ApiException
hookKeyId
- `id` of the Hook Key (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic HookKey getHookKey(String hookKeyId) throws ApiException
hookKeyId
- `id` of the Hook Key (required)ApiException
- if fails to make API callpublic HookKey getHookKey(String hookKeyId, Map<String,String> additionalHeaders) throws ApiException
hookKeyId
- `id` of the Hook Key (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic JsonWebKey getPublicKey(String publicKeyId) throws ApiException
publicKeyId
- `id` of the Public Key (required)ApiException
- if fails to make API callpublic JsonWebKey getPublicKey(String publicKeyId, Map<String,String> additionalHeaders) throws ApiException
publicKeyId
- `id` of the Public Key (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<HookKey> listHookKeys() throws ApiException
ApiException
- if fails to make API callpublic List<HookKey> listHookKeys(Map<String,String> additionalHeaders) throws ApiException
additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic HookKey replaceHookKey(String hookKeyId, KeyRequest keyRequest) throws ApiException
hookKeyId
- `id` of the Hook Key (required)keyRequest
- (required)ApiException
- if fails to make API callpublic HookKey replaceHookKey(String hookKeyId, KeyRequest keyRequest, Map<String,String> additionalHeaders) throws ApiException
hookKeyId
- `id` of the Hook Key (required)keyRequest
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.