Table of Contents

Class UpdateConnectionOptions

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

The connection's options (depend on the connection strategy). To update these options, the update:connections_options scope must be present. To verify your changes, also include the read:connections_options scope. If this scope is not specified, you will not be able to review the updated object.

[Serializable]
public record UpdateConnectionOptions : IJsonOnDeserialized, IJsonOnSerializing, IEquatable<UpdateConnectionOptions>
Inheritance
UpdateConnectionOptions
Implements
Inherited Members
Extension Methods

Properties

AdditionalProperties

[JsonIgnore]
public AdditionalProperties AdditionalProperties { get; set; }

Property Value

AdditionalProperties

ApiEnableUsers

[JsonPropertyName("api_enable_users")]
public bool? ApiEnableUsers { get; set; }

Property Value

bool?

Attributes

[JsonPropertyName("attributes")]
public ConnectionAttributes? Attributes { get; set; }

Property Value

ConnectionAttributes

AuthenticationMethods

[JsonPropertyName("authentication_methods")]
public Optional<ConnectionAuthenticationMethods?> AuthenticationMethods { get; set; }

Property Value

Optional<ConnectionAuthenticationMethods>

BasicProfile

[JsonPropertyName("basic_profile")]
public bool? BasicProfile { get; set; }

Property Value

bool?

Configuration

Stores encrypted string only configurations for connections

[JsonPropertyName("configuration")]
public Optional<Dictionary<string, string?>?> Configuration { get; set; }

Property Value

Optional<Dictionary<string, string>>

CustomScripts

[JsonPropertyName("customScripts")]
public ConnectionCustomScripts? CustomScripts { get; set; }

Property Value

ConnectionCustomScripts

DisableSelfServiceChangePassword

[JsonPropertyName("disable_self_service_change_password")]
public bool? DisableSelfServiceChangePassword { get; set; }

Property Value

bool?

EnableScriptContext

Set to true to inject context into custom DB scripts (warning: cannot be disabled once enabled)

[JsonPropertyName("enable_script_context")]
public bool? EnableScriptContext { get; set; }

Property Value

bool?

EnabledDatabaseCustomization

Set to true to use a legacy user store

[JsonPropertyName("enabledDatabaseCustomization")]
public bool? EnabledDatabaseCustomization { get; set; }

Property Value

bool?

ExtAdmin

[JsonPropertyName("ext_admin")]
public bool? ExtAdmin { get; set; }

Property Value

bool?

ExtAgreedTerms

[JsonPropertyName("ext_agreed_terms")]
public bool? ExtAgreedTerms { get; set; }

Property Value

bool?

ExtAssignedPlans

[JsonPropertyName("ext_assigned_plans")]
public bool? ExtAssignedPlans { get; set; }

Property Value

bool?

ExtGroups

[JsonPropertyName("ext_groups")]
public bool? ExtGroups { get; set; }

Property Value

bool?

ExtIsSuspended

[JsonPropertyName("ext_is_suspended")]
public bool? ExtIsSuspended { get; set; }

Property Value

bool?

ExtProfile

[JsonPropertyName("ext_profile")]
public bool? ExtProfile { get; set; }

Property Value

bool?

FederatedConnectionsAccessTokens

[JsonPropertyName("federated_connections_access_tokens")]
public Optional<ConnectionFederatedConnectionsAccessTokens?> FederatedConnectionsAccessTokens { get; set; }

Property Value

Optional<ConnectionFederatedConnectionsAccessTokens>

GatewayAuthentication

[JsonPropertyName("gateway_authentication")]
public Optional<ConnectionGatewayAuthentication?> GatewayAuthentication { get; set; }

Property Value

Optional<ConnectionGatewayAuthentication>

ImportMode

Enable this if you have a legacy user store and you want to gradually migrate those users to the Auth0 user store

[JsonPropertyName("import_mode")]
public bool? ImportMode { get; set; }

Property Value

bool?

NonPersistentAttrs

An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist)

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

Property Value

Optional<IEnumerable<string>>

PasskeyOptions

[JsonPropertyName("passkey_options")]
public Optional<ConnectionPasskeyOptions?> PasskeyOptions { get; set; }

Property Value

Optional<ConnectionPasskeyOptions>

PasswordComplexityOptions

[JsonPropertyName("password_complexity_options")]
public Optional<ConnectionPasswordComplexityOptions?> PasswordComplexityOptions { get; set; }

Property Value

Optional<ConnectionPasswordComplexityOptions>

PasswordDictionary

[JsonPropertyName("password_dictionary")]
public Optional<ConnectionPasswordDictionaryOptions?> PasswordDictionary { get; set; }

Property Value

Optional<ConnectionPasswordDictionaryOptions>

PasswordHistory

[JsonPropertyName("password_history")]
public Optional<ConnectionPasswordHistoryOptions?> PasswordHistory { get; set; }

Property Value

Optional<ConnectionPasswordHistoryOptions>

PasswordNoPersonalInfo

[JsonPropertyName("password_no_personal_info")]
public Optional<ConnectionPasswordNoPersonalInfoOptions?> PasswordNoPersonalInfo { get; set; }

Property Value

Optional<ConnectionPasswordNoPersonalInfoOptions>

PasswordOptions

[JsonPropertyName("password_options")]
public ConnectionPasswordOptions? PasswordOptions { get; set; }

Property Value

ConnectionPasswordOptions

PasswordPolicy

[JsonPropertyName("passwordPolicy")]
public Optional<ConnectionPasswordPolicyEnum?> PasswordPolicy { get; set; }

Property Value

Optional<ConnectionPasswordPolicyEnum?>

Precedence

Order of precedence for attribute types. If the property is not specified, the default precedence of attributes will be used.

[JsonPropertyName("precedence")]
public IEnumerable<ConnectionIdentifierPrecedenceEnum>? Precedence { get; set; }

Property Value

IEnumerable<ConnectionIdentifierPrecedenceEnum>

SetUserRootAttributes

[JsonPropertyName("set_user_root_attributes")]
public ConnectionSetUserRootAttributesEnum? SetUserRootAttributes { get; set; }

Property Value

ConnectionSetUserRootAttributesEnum?

UpstreamParams

[JsonPropertyName("upstream_params")]
public Optional<Dictionary<string, ConnectionUpstreamAdditionalProperties?>?> UpstreamParams { get; set; }

Property Value

Optional<Dictionary<string, ConnectionUpstreamAdditionalProperties>>

Validation

[JsonPropertyName("validation")]
public Optional<ConnectionValidationOptions?> Validation { get; set; }

Property Value

Optional<ConnectionValidationOptions>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.