Package com.okta.sdk.resource.api
Class SsfTransmitterApi
java.lang.Object
com.okta.sdk.resource.api.SsfTransmitterApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class SsfTransmitterApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate an SSF Stream Creates an SSF Stream for an event receiver to start receiving security events in the form of Security Event Tokens (SETs) from Okta.createSsfStream
(StreamConfigurationCreateRequest instance, Map<String, String> additionalHeaders) Create an SSF Stream Creates an SSF Stream for an event receiver to start receiving security events in the form of Security Event Tokens (SETs) from Okta.void
deleteSsfStream
(String streamId) Delete an SSF Stream Deletes the specified SSF Stream.void
deleteSsfStream
(String streamId, Map<String, String> additionalHeaders) Delete an SSF Stream Deletes the specified SSF Stream.protected static com.fasterxml.jackson.databind.ObjectMapper
getSsfStreams
(String streamId) Retrieve the SSF Stream configuration(s) Retrieves either a list of all known SSF Stream configurations or the individual configuration if specified by ID.getSsfStreams
(String streamId, Map<String, String> additionalHeaders) Retrieve the SSF Stream configuration(s) Retrieves either a list of all known SSF Stream configurations or the individual configuration if specified by ID.Retrieve the SSF Transmitter metadata Retrieves SSF Transmitter configuration metadata.getWellknownSsfMetadata
(Map<String, String> additionalHeaders) Retrieve the SSF Transmitter metadata Retrieves SSF Transmitter configuration metadata.replaceSsfStream
(StreamConfiguration instance) Replace an SSF Stream Replaces all properties for an existing SSF Stream configuration.replaceSsfStream
(StreamConfiguration instance, Map<String, String> additionalHeaders) Replace an SSF Stream Replaces all properties for an existing SSF Stream configuration.void
setApiClient
(ApiClient apiClient) updateSsfStream
(StreamConfiguration instance) Update an SSF Stream Updates properties for an existing SSF Stream configuration.updateSsfStream
(StreamConfiguration instance, Map<String, String> additionalHeaders) Update an SSF Stream Updates properties for an existing SSF Stream configuration.
-
Constructor Details
-
SsfTransmitterApi
public SsfTransmitterApi() -
SsfTransmitterApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createSsfStream
public StreamConfiguration createSsfStream(StreamConfigurationCreateRequest instance) throws ApiException Create an SSF Stream Creates an SSF Stream for an event receiver to start receiving security events in the form of Security Event Tokens (SETs) from Okta. An SSF Stream is associated with the Client ID of the OAuth 2.0 access token used to create the stream. The Client ID is provided by Okta for an [OAuth 2.0 app integration](https://help.okta.com/okta_help.htm?id=ext_Apps_App_Integration_Wizard-oidc). One SSF Stream is allowed for each Client ID, hence, one SSF Stream is allowed for each app integration in Okta. A maximum of 10 SSF Stream configurations can be created for one org.- Parameters:
instance
- (required)- Returns:
- StreamConfiguration
- Throws:
ApiException
- if fails to make API call
-
createSsfStream
public StreamConfiguration createSsfStream(StreamConfigurationCreateRequest instance, Map<String, String> additionalHeaders) throws ApiExceptionCreate an SSF Stream Creates an SSF Stream for an event receiver to start receiving security events in the form of Security Event Tokens (SETs) from Okta. An SSF Stream is associated with the Client ID of the OAuth 2.0 access token used to create the stream. The Client ID is provided by Okta for an [OAuth 2.0 app integration](https://help.okta.com/okta_help.htm?id=ext_Apps_App_Integration_Wizard-oidc). One SSF Stream is allowed for each Client ID, hence, one SSF Stream is allowed for each app integration in Okta. A maximum of 10 SSF Stream configurations can be created for one org.- Parameters:
instance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- StreamConfiguration
- Throws:
ApiException
- if fails to make API call
-
deleteSsfStream
Delete an SSF Stream Deletes the specified SSF Stream. If the `stream_id` is not provided in the query string, the associated stream with the Client ID (through the request OAuth 2.0 access token) is deleted. Otherwise, the SSF Stream with the `stream_id` is deleted, if found.- Parameters:
streamId
- The ID of the specified SSF Stream configuration (optional)- Throws:
ApiException
- if fails to make API call
-
deleteSsfStream
public void deleteSsfStream(String streamId, Map<String, String> additionalHeaders) throws ApiExceptionDelete an SSF Stream Deletes the specified SSF Stream. If the `stream_id` is not provided in the query string, the associated stream with the Client ID (through the request OAuth 2.0 access token) is deleted. Otherwise, the SSF Stream with the `stream_id` is deleted, if found.- Parameters:
streamId
- The ID of the specified SSF Stream configuration (optional)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getSsfStreams
Retrieve the SSF Stream configuration(s) Retrieves either a list of all known SSF Stream configurations or the individual configuration if specified by ID. As Stream configurations are tied to a Client ID, only the Stream associated with the Client ID of the request OAuth 2.0 access token can be viewed.- Parameters:
streamId
- The ID of the specified SSF Stream configuration (optional)- Returns:
- GetSsfStreams200Response
- Throws:
ApiException
- if fails to make API call
-
getSsfStreams
public GetSsfStreams200Response getSsfStreams(String streamId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the SSF Stream configuration(s) Retrieves either a list of all known SSF Stream configurations or the individual configuration if specified by ID. As Stream configurations are tied to a Client ID, only the Stream associated with the Client ID of the request OAuth 2.0 access token can be viewed.- Parameters:
streamId
- The ID of the specified SSF Stream configuration (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- GetSsfStreams200Response
- Throws:
ApiException
- if fails to make API call
-
getWellknownSsfMetadata
Retrieve the SSF Transmitter metadata Retrieves SSF Transmitter configuration metadata. This includes all supported endpoints and key information about certain properties of the Okta org as the transmitter, such as `delivery_methods_supported`, `issuer`, and `jwks_uri`.- Returns:
- WellKnownSSFMetadata
- Throws:
ApiException
- if fails to make API call
-
getWellknownSsfMetadata
public WellKnownSSFMetadata getWellknownSsfMetadata(Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the SSF Transmitter metadata Retrieves SSF Transmitter configuration metadata. This includes all supported endpoints and key information about certain properties of the Okta org as the transmitter, such as `delivery_methods_supported`, `issuer`, and `jwks_uri`.- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- WellKnownSSFMetadata
- Throws:
ApiException
- if fails to make API call
-
replaceSsfStream
Replace an SSF Stream Replaces all properties for an existing SSF Stream configuration. If the `stream_id` isn't provided in the request body, the associated stream with the Client ID (through the request OAuth 2.0 access token) is replaced.- Parameters:
instance
- (required)- Returns:
- StreamConfiguration
- Throws:
ApiException
- if fails to make API call
-
replaceSsfStream
public StreamConfiguration replaceSsfStream(StreamConfiguration instance, Map<String, String> additionalHeaders) throws ApiExceptionReplace an SSF Stream Replaces all properties for an existing SSF Stream configuration. If the `stream_id` isn't provided in the request body, the associated stream with the Client ID (through the request OAuth 2.0 access token) is replaced.- Parameters:
instance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- StreamConfiguration
- Throws:
ApiException
- if fails to make API call
-
updateSsfStream
Update an SSF Stream Updates properties for an existing SSF Stream configuration. If the `stream_id` isn't provided in the request body, the associated stream with the Client ID (through the request OAuth 2.0 access token) is updated.- Parameters:
instance
- (required)- Returns:
- StreamConfiguration
- Throws:
ApiException
- if fails to make API call
-
updateSsfStream
public StreamConfiguration updateSsfStream(StreamConfiguration instance, Map<String, String> additionalHeaders) throws ApiExceptionUpdate an SSF Stream Updates properties for an existing SSF Stream configuration. If the `stream_id` isn't provided in the request body, the associated stream with the Client ID (through the request OAuth 2.0 access token) is updated.- Parameters:
instance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- StreamConfiguration
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-