Class TicketsClient
- Namespace
- Auth0.ManagementApi.Clients
- Assembly
- Auth0.ManagementApi.dll
Contains methods to access the /tickets endpoints.
public class TicketsClient : BaseClient, ITicketsClient
- Inheritance
-
TicketsClient
- Implements
- Inherited Members
Constructors
TicketsClient(IManagementConnection, Uri, IDictionary<string, string>)
Initializes a new instance of TicketsClient.
public TicketsClient(IManagementConnection connection, Uri baseUri, IDictionary<string, string> defaultHeaders)
Parameters
connection
IManagementConnectionIManagementConnection used to make all API calls.
baseUri
UriUri of the endpoint to use in making API calls.
defaultHeaders
IDictionary<string, string>Dictionary containing default headers included with every request this client makes.
Methods
CreateEmailVerificationTicketAsync(EmailVerificationTicketRequest, CancellationToken)
Creates an email verification ticket.
public Task<Ticket> CreateEmailVerificationTicketAsync(EmailVerificationTicketRequest request, CancellationToken cancellationToken = default)
Parameters
request
EmailVerificationTicketRequestThe EmailVerificationTicketRequest containing the details of the ticket to create.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
CreatePasswordChangeTicketAsync(PasswordChangeTicketRequest, CancellationToken)
Creates a password change ticket.
public Task<Ticket> CreatePasswordChangeTicketAsync(PasswordChangeTicketRequest request, CancellationToken cancellationToken = default)
Parameters
request
PasswordChangeTicketRequestThe PasswordChangeTicketRequest containing the details of the ticket to create.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.