Interface IThreatInsightsClient
A client that works with Okta ThreatInsight resources.
Namespace: Okta.Sdk
Assembly: Okta.Sdk.dll
Syntax
public interface IThreatInsightsClient
Methods
GetCurrentConfigurationAsync(CancellationToken)
Gets current ThreatInsight configuration
Declaration
Task<IThreatInsightConfiguration> GetCurrentConfigurationAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IThreatInsightConfiguration> | The IThreatInsightConfiguration response. |
UpdateConfigurationAsync(IThreatInsightConfiguration, CancellationToken)
Updates ThreatInsight configuration
Declaration
Task<IThreatInsightConfiguration> UpdateConfigurationAsync(IThreatInsightConfiguration threatInsightConfiguration, CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| IThreatInsightConfiguration | threatInsightConfiguration | The IThreatInsightConfiguration resource. |
| System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IThreatInsightConfiguration> | The IThreatInsightConfiguration response. |