Interface IAppSettings
Interface for any Application provider.
Namespace: Unosquare.PassCore.Common
Syntax
public interface IAppSettings
Properties
DefaultDomain
Gets or sets the default domain.
Declaration
string DefaultDomain { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default domain. |
LdapHostnames
Gets or sets the LDAP hostnames.
Declaration
string[] LdapHostnames { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The LDAP hostnames. |
Remarks
Required, one or more hostnames or IP addresses which expose an LDAP/LDAPS service endpoint that will be connected to. If more than one host is specified, then each will be tried in turn until a successful, secure connection is established.
LdapPassword
Gets or sets the LDAP password.
Declaration
string LdapPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String | The LDAP password. |
LdapPort
Gets or sets the LDAP port.
Declaration
int LdapPort { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LDAP port. |
Remarks
Optional, defaults to 636 -- the default port for LDAPS (i.e. LDAP over TLS). A common alternative is to use the default LDAP port, 389, however this port typically is not-secured and requires the "StartTLS" flag enabled.
LdapUsername
Gets or sets the LDAP username.
Declaration
string LdapUsername { get; set; }
Property Value
Type | Description |
---|---|
System.String | The LDAP username. |