Skip to content

Commit

Permalink
ESD-32354: Add disable_self_service_change_password to AD connection …
Browse files Browse the repository at this point in the history
…options (#308)
  • Loading branch information
sergiught authored Nov 8, 2023
1 parent ba83c16 commit 065cdb3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 21 deletions.
40 changes: 19 additions & 21 deletions management/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -940,27 +940,25 @@ func (c *ConnectionOptionsOAuth2) SetScopes(enable bool, scopes ...string) {

// ConnectionOptionsAD is used to configure an AD Connection.
type ConnectionOptionsAD struct {
TenantDomain *string `json:"tenant_domain,omitempty"`
DomainAliases *[]string `json:"domain_aliases,omitempty"`
LogoURL *string `json:"icon_url,omitempty"`
IPs *[]string `json:"ips,omitempty"`

CertAuth *bool `json:"certAuth,omitempty"`
Kerberos *bool `json:"kerberos,omitempty"`
DisableCache *bool `json:"disable_cache,omitempty"`
BruteForceProtection *bool `json:"brute_force_protection,omitempty"`

SetUserAttributes *string `json:"set_user_root_attributes,omitempty"`
NonPersistentAttrs *[]string `json:"non_persistent_attrs,omitempty"`

UpstreamParams map[string]interface{} `json:"upstream_params,omitempty"`

Thumbprints *[]string `json:"thumbprints,omitempty"`

Certs *[]string `json:"certs,omitempty"`
AgentIP *string `json:"agentIP,omitempty"`
AgentVersion *string `json:"agentVersion,omitempty"`
AgentMode *bool `json:"agentMode,omitempty"`
TenantDomain *string `json:"tenant_domain,omitempty"`
DomainAliases *[]string `json:"domain_aliases,omitempty"`
LogoURL *string `json:"icon_url,omitempty"`
IPs *[]string `json:"ips,omitempty"`
CertAuth *bool `json:"certAuth,omitempty"`
Kerberos *bool `json:"kerberos,omitempty"`
DisableCache *bool `json:"disable_cache,omitempty"`
BruteForceProtection *bool `json:"brute_force_protection,omitempty"`
SetUserAttributes *string `json:"set_user_root_attributes,omitempty"`
NonPersistentAttrs *[]string `json:"non_persistent_attrs,omitempty"`
UpstreamParams map[string]interface{} `json:"upstream_params,omitempty"`
Thumbprints *[]string `json:"thumbprints,omitempty"`
Certs *[]string `json:"certs,omitempty"`
AgentIP *string `json:"agentIP,omitempty"`
AgentVersion *string `json:"agentVersion,omitempty"`
AgentMode *bool `json:"agentMode,omitempty"`

// Set to true to stop the "Forgot Password" being displayed on login pages.
DisableSelfServiceChangePassword *bool `json:"disable_self_service_change_password,omitempty"`
}

// ConnectionOptionsAzureAD is used to configure an AzureAD Connection.
Expand Down
8 changes: 8 additions & 0 deletions management/management.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions management/management.gen_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 065cdb3

Please sign in to comment.