Table of Contents

Class UpdateConnectionRequestContent

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

Properties

Authentication

[JsonPropertyName("authentication")]
public ConnectionAuthenticationPurpose? Authentication { get; set; }

Property Value

ConnectionAuthenticationPurpose

ConnectedAccounts

[JsonPropertyName("connected_accounts")]
public ConnectionConnectedAccountsPurpose? ConnectedAccounts { get; set; }

Property Value

ConnectionConnectedAccountsPurpose

DisplayName

The connection name used in the new universal login experience. If display_name is not included in the request, the field will be overwritten with the name value.

[JsonPropertyName("display_name")]
public string? DisplayName { get; set; }

Property Value

string

EnabledClients

DEPRECATED property. Use the PATCH /v2/connections/{id}/clients endpoint to enable or disable the connection for any clients.

[JsonPropertyName("enabled_clients")]
public Optional<IEnumerable<string>?> EnabledClients { get; set; }

Property Value

Optional<IEnumerable<string>>

IsDomainConnection

true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.)

[JsonPropertyName("is_domain_connection")]
public bool? IsDomainConnection { get; set; }

Property Value

bool?

Metadata

[JsonPropertyName("metadata")]
public Dictionary<string, string?>? Metadata { get; set; }

Property Value

Dictionary<string, string>

Options

[JsonPropertyName("options")]
public Optional<UpdateConnectionOptions?> Options { get; set; }

Property Value

Optional<UpdateConnectionOptions>

Realms

Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm.

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

Property Value

IEnumerable<string>

ShowAsButton

Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. (Defaults to false.)

[JsonPropertyName("show_as_button")]
public bool? ShowAsButton { get; set; }

Property Value

bool?

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.