Table of Contents

Interface ILogsClient

Namespace
Auth0.ManagementApi.Clients
Assembly
Auth0.ManagementApi.dll
public interface ILogsClient

Methods

GetAllAsync(GetLogsRequest, PaginationInfo, CancellationToken)

Retrieves log entries that match the specified search criteria.

Task<IPagedList<LogEntry>> GetAllAsync(GetLogsRequest request, PaginationInfo pagination = null, CancellationToken cancellationToken = default)

Parameters

request GetLogsRequest

Specifies criteria to use when querying logs.

pagination PaginationInfo

Specifies pagination info to use when requesting paged results.

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<IPagedList<LogEntry>>

An IPagedList<T> containing the list of log entries.

GetAsync(string, CancellationToken)

Retrieves the data related to the log entry identified by id. This returns a single log entry representation as specified in the schema.

Task<LogEntry> GetAsync(string id, CancellationToken cancellationToken = default)

Parameters

id string

The identifier of the log entry to retrieve.

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<LogEntry>

A LogEntry instance containing the information about the log entry.