Package com.auth0.client.mgmt
Class LogEventsEntity
java.lang.Object
com.auth0.client.mgmt.LogEventsEntity
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 Summary
FieldsModifier and TypeFieldDescriptionprotected final okhttp3.HttpUrl
protected final Auth0HttpClient
protected final TokenProvider
-
Method Summary
Modifier and TypeMethodDescriptionRequest a Log Event.list
(LogEventFilter filter) Request all the Log Events.protected <T> Request<T>
request
(HttpMethod method, com.fasterxml.jackson.core.type.TypeReference<T> target, Consumer<com.auth0.client.mgmt.RequestBuilder<T>> customizer) voidRequest
(HttpMethod method, Consumer<com.auth0.client.mgmt.RequestBuilder<Void>> customizer)
-
Field Details
-
client
-
baseUrl
protected final okhttp3.HttpUrl baseUrl -
tokenProvider
-
-
Method Details
-
list
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
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(HttpMethod method, Consumer<com.auth0.client.mgmt.RequestBuilder<Void>> customizer) -
request
protected <T> Request<T> request(HttpMethod method, com.fasterxml.jackson.core.type.TypeReference<T> target, Consumer<com.auth0.client.mgmt.RequestBuilder<T>> customizer)
-