Class PasswordChangeOptions
Represents the options of this provider.
Inheritance
Implements
Inherited Members
Namespace: Unosquare.PassCore.PasswordProvider
Syntax
public class PasswordChangeOptions : IAppSettings
Properties
AllowedADGroups
Gets or sets the allowed ad groups.
Declaration
public List<string> AllowedADGroups { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | The allowed ad groups. |
DefaultDomain
Gets or sets the default domain.
Declaration
public string DefaultDomain { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default domain. |
IdTypeForUser
Gets or sets the identifier type for user.
Declaration
public string IdTypeForUser { get; set; }
Property Value
Type | Description |
---|---|
System.String | The identifier type for user. |
LdapHostnames
Gets or sets the LDAP hostnames.
Declaration
public 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
public string LdapPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String | The LDAP password. |
LdapPort
Gets or sets the LDAP port.
Declaration
public 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
public string LdapUsername { get; set; }
Property Value
Type | Description |
---|---|
System.String | The LDAP username. |
RestrictedADGroups
Gets or sets the restricted ad groups.
Declaration
public List<string> RestrictedADGroups { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | The restricted ad groups. |
UpdateLastPassword
Gets or sets a value indicating whether [update last password].
Declaration
public bool UpdateLastPassword { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
UseAutomaticContext
Gets or sets a value indicating whether [use automatic context].
Declaration
public bool UseAutomaticContext { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|