Package com.auth0.client.mgmt
Class TicketsEntity
java.lang.Object
com.auth0.client.mgmt.TicketsEntity
Class that provides an implementation of the Tickets methods of the Management API as defined in https://auth0.com/docs/api/management/v2#!/Tickets
This class is not thread-safe.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final okhttp3.HttpUrlprotected final Auth0HttpClientprotected final TokenProvider -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> Request<T>request(HttpMethod method, com.fasterxml.jackson.core.type.TypeReference<T> target, Consumer<com.auth0.client.mgmt.RequestBuilder<T>> customizer) requestEmailVerification(EmailVerificationTicket emailVerificationTicket) Create an Email Verification Ticket.requestPasswordChange(PasswordChangeTicket passwordChangeTicket) Create a Password Change Ticket.voidRequest(HttpMethod method, Consumer<com.auth0.client.mgmt.RequestBuilder<Void>> customizer)
-
Field Details
-
client
-
baseUrl
protected final okhttp3.HttpUrl baseUrl -
tokenProvider
-
-
Method Details
-
requestEmailVerification
public Request<EmailVerificationTicket> requestEmailVerification(EmailVerificationTicket emailVerificationTicket) Create an Email Verification Ticket. A token with scope create:user_tickets is needed. See https://auth0.com/docs/api/management/v2#!/Tickets/post_email_verification- Parameters:
emailVerificationTicket- the email verification ticket data to set.- Returns:
- a Request to execute.
-
requestPasswordChange
public Request<PasswordChangeTicket> requestPasswordChange(PasswordChangeTicket passwordChangeTicket) Create a Password Change Ticket. A token with scope create:user_tickets is needed. See https://auth0.com/docs/api/management/v2#!/Tickets/post_password_change- Parameters:
passwordChangeTicket- the password change ticket data to set.- 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)
-