Class ThreatInsightsClient
A client that communicates with the Okta management API.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk
Assembly: Okta.Sdk.dll
Syntax
public sealed class ThreatInsightsClient : OktaClient, IOktaClient, IThreatInsightsClient
Methods
GetCurrentConfigurationAsync(CancellationToken)
Gets current ThreatInsight configuration
Declaration
public 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
public 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. |