Class TicketsEntity

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

public class TicketsEntity extends Object
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 Details

    • client

      protected final Auth0HttpClient client
    • baseUrl

      protected final okhttp3.HttpUrl baseUrl
    • tokenProvider

      protected final TokenProvider 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)