Table of Contents

Class TicketsClient

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
public class TicketsClient : ITicketsClient
Inheritance
TicketsClient
Implements
Inherited Members
Extension Methods

Methods

ChangePasswordAsync(ChangePasswordTicketRequestContent, RequestOptions?, CancellationToken)

Create a password change ticket for a given user. A password change ticket is a generated URL that the user can consume to start a reset password flow.

Note: This endpoint does not verify the given user’s identity. If you call this endpoint within your application, you must design your application to verify the user’s identity.

public WithRawResponseTask<ChangePasswordTicketResponseContent> ChangePasswordAsync(ChangePasswordTicketRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request ChangePasswordTicketRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<ChangePasswordTicketResponseContent>

Examples

await client.Tickets.ChangePasswordAsync(new ChangePasswordTicketRequestContent());

VerifyEmailAsync(VerifyEmailTicketRequestContent, RequestOptions?, CancellationToken)

Create an email verification ticket for a given user. An email verification ticket is a generated URL that the user can consume to verify their email address.

public WithRawResponseTask<VerifyEmailTicketResponseContent> VerifyEmailAsync(VerifyEmailTicketRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request VerifyEmailTicketRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<VerifyEmailTicketResponseContent>

Examples

await client.Tickets.VerifyEmailAsync(new VerifyEmailTicketRequestContent { UserId = "user_id" });