Class ConnectionBase
- Namespace
- Auth0.ManagementApi.Models
- Assembly
- Auth0.ManagementApi.dll
Base class for connections which includes both request and responses.
public abstract class ConnectionBase
- Inheritance
-
ConnectionBase
- Derived
- Inherited Members
Properties
DisplayName
The text used on the login button.
[JsonProperty("display_name")]
public string DisplayName { get; set; }
Property Value
EnabledClients
[Obsolete("This field is deprecated and will be removed in a future version. Use ConnectionsClient.GetEnabledClientsAsync and ConnectionsClient.UpdateEnabledClientsAsync instead. ")]
[JsonProperty("enabled_clients")]
public string[] EnabledClients { get; set; }
Property Value
- string[]
IsDomainConnection
Whether the connection is domain level (true), or not (false).
[JsonProperty("is_domain_connection")]
public bool IsDomainConnection { get; set; }
Property Value
Metadata
Optional metadata for the connection.
[JsonProperty("metadata")]
public dynamic Metadata { get; set; }
Property Value
- dynamic
Name
The name of the connection.
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Remarks
Must start with an alphanumeric characters and can only contain alphanumeric characters and '-'. Max length 35.
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. Maximum of 10 items.
[JsonProperty("realms")]
public string[] Realms { get; set; }
Property Value
- string[]
ShowAsButton
True to show this connection as a button on login, false otherwise.
[JsonProperty("show_as_button")]
public bool? ShowAsButton { get; set; }
Property Value
- bool?