Class LogsClient
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 LogsClient : OktaClient, IOktaClient, ILogsClient, IAsyncEnumerable<ILogEvent>
Methods
GetAsyncEnumerator(CancellationToken)
Gets the LogsClient enumerator.
Declaration
public IAsyncEnumerator<ILogEvent> GetAsyncEnumerator(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IAsyncEnumerator<ILogEvent> | A collection of ILogEvent that can be enumerated asynchronously. |
GetLogs(String, String, String, String, Nullable<Int32>, String, String)
The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API
Declaration
public ICollectionClient<ILogEvent> GetLogs(string since = null, string until = null, string filter = null, string q = null, int? limit, string sortOrder = "ASCENDING", string after = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | since | |
System.String | until | |
System.String | filter | |
System.String | q | |
System.Nullable<System.Int32> | limit | |
System.String | sortOrder | |
System.String | after |
Returns
Type | Description |
---|---|
ICollectionClient<ILogEvent> | A collection of ILogEvent that can be enumerated asynchronously. |
Implements
System.Collections.Generic.IAsyncEnumerable<T>