Class LogEventsEntity

java.lang.Object
com.auth0.client.mgmt.LogEventsEntity

public class LogEventsEntity extends Object
Class that provides an implementation of the Events methods of the Management API as defined in https://auth0.com/docs/api/management/v2#!/Logs

This class is not thread-safe.

See Also:
  • Field Details

    • client

      protected final okhttp3.OkHttpClient client
    • baseUrl

      protected final okhttp3.HttpUrl baseUrl
    • apiToken

      protected final String apiToken
  • Method Details

    • list

      public Request<LogEventsPage> list(LogEventFilter filter)
      Request all the Log Events. A token with scope read:logs is needed. See https://auth0.com/docs/api/management/v2#!/Logs/get_logs
      Parameters:
      filter - the filter to use. Can be null.
      Returns:
      a Request to execute.
    • get

      public Request<LogEvent> get(String logEventId)
      Request a Log Event. A token with scope read:logs is needed. See https://auth0.com/docs/api/management/v2#!/Logs/get_logs_by_id
      Parameters:
      logEventId - the id of the connection to retrieve.
      Returns:
      a Request to execute.
    • voidRequest

      protected Request<Void> voidRequest(String method, Consumer<com.auth0.client.mgmt.RequestBuilder<Void>> customizer)
    • request

      protected <T> Request<T> request(String method, com.fasterxml.jackson.core.type.TypeReference<T> target, Consumer<com.auth0.client.mgmt.RequestBuilder<T>> customizer)