Table of Contents

Class ChangePasswordTicketRequestContent

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[Serializable]
public record ChangePasswordTicketRequestContent : IEquatable<ChangePasswordTicketRequestContent>
Inheritance
ChangePasswordTicketRequestContent
Implements
Inherited Members
Extension Methods

Properties

ClientId

ID of the client (application). If provided for tenants using the New Universal Login experience, the email template and UI displays application details, and the user is prompted to redirect to the application's default login route after the ticket is used. client_id is required to use the Password Reset Post Challenge trigger.

[JsonPropertyName("client_id")]
public string? ClientId { get; set; }

Property Value

string

ConnectionId

ID of the connection. If provided, allows the user to be specified using email instead of user_id. If you set this value, you must also send the email parameter. You cannot send user_id when specifying a connection_id.

[JsonPropertyName("connection_id")]
public string? ConnectionId { get; set; }

Property Value

string

Email

Email address of the user for whom the tickets should be created. Requires the connection_id parameter. Cannot be specified when using user_id.

[JsonPropertyName("email")]
public string? Email { get; set; }

Property Value

string

Identity

[JsonPropertyName("identity")]
public ChangePasswordTicketIdentity? Identity { get; set; }

Property Value

ChangePasswordTicketIdentity

IncludeEmailInRedirect

Whether to include the email address as part of the returnUrl in the reset_email (true), or not (false).

[JsonPropertyName("includeEmailInRedirect")]
public bool? IncludeEmailInRedirect { get; set; }

Property Value

bool?

MarkEmailAsVerified

Whether to set the email_verified attribute to true (true) or whether it should not be updated (false).

[JsonPropertyName("mark_email_as_verified")]
public bool? MarkEmailAsVerified { get; set; }

Property Value

bool?

OrganizationId

(Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters.

[JsonPropertyName("organization_id")]
public string? OrganizationId { get; set; }

Property Value

string

ResultUrl

URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using client_id or organization_id.

[JsonPropertyName("result_url")]
public string? ResultUrl { get; set; }

Property Value

string

TtlSec

Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days).

[JsonPropertyName("ttl_sec")]
public int? TtlSec { get; set; }

Property Value

int?

UserId

user_id of for whom the ticket should be created.

[JsonPropertyName("user_id")]
public string? UserId { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.