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
GetLogsRequestSpecifies criteria to use when querying logs.
pagination
PaginationInfoSpecifies pagination info to use when requesting paged results.
cancellationToken
CancellationTokenThe 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
stringThe identifier of the log entry to retrieve.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.