Table of Contents

Class CreateOrganizationInvitationRequestContent

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

Properties

AppMetadata

[JsonPropertyName("app_metadata")]
public Dictionary<string, object?>? AppMetadata { get; set; }

Property Value

Dictionary<string, object>

ClientId

Auth0 client ID. Used to resolve the application's login initiation endpoint.

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

Property Value

string

ConnectionId

The id of the connection to force invitee to authenticate with.

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

Property Value

string

Invitee

[JsonPropertyName("invitee")]
public required OrganizationInvitationInvitee Invitee { get; set; }

Property Value

OrganizationInvitationInvitee

Inviter

[JsonPropertyName("inviter")]
public required OrganizationInvitationInviter Inviter { get; set; }

Property Value

OrganizationInvitationInviter

Roles

List of roles IDs to associated with the user.

[JsonPropertyName("roles")]
public IEnumerable<string>? Roles { get; set; }

Property Value

IEnumerable<string>

SendInvitationEmail

Whether the user will receive an invitation email (true) or no email (false), true by default

[JsonPropertyName("send_invitation_email")]
public bool? SendInvitationEmail { get; set; }

Property Value

bool?

TtlSec

Number of seconds for which the invitation is valid before expiration. If unspecified or set to 0, this value defaults to 604800 seconds (7 days). Max value: 2592000 seconds (30 days).

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

Property Value

int?

UserMetadata

[JsonPropertyName("user_metadata")]
public Dictionary<string, object?>? UserMetadata { get; set; }

Property Value

Dictionary<string, object>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.