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:
ManagementAPI
  • Field Details

    • client

      protected final okhttp3.OkHttpClient client
    • baseUrl

      protected final okhttp3.HttpUrl baseUrl
    • apiToken

      protected final String apiToken
  • 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.