Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeLDAPValue ¶ added in v0.2.0
Types ¶
type CLIHandler ¶
type CLIHandler struct{}
func (*CLIHandler) Help ¶
func (h *CLIHandler) Help() string
type ConfigEntry ¶
type ConfigEntry struct { Url string `json:"url"` UserDN string `json:"userdn"` GroupDN string `json:"groupdn"` GroupFilter string `json:"groupfilter"` GroupAttr string `json:"groupattr"` UPNDomain string `json:"upndomain"` UserAttr string `json:"userattr"` Certificate string `json:"certificate"` InsecureTLS bool `json:"insecure_tls"` StartTLS bool `json:"starttls"` BindDN string `json:"binddn"` BindPassword string `json:"bindpass"` DenyNullBind bool `json:"deny_null_bind"` DiscoverDN bool `json:"discoverdn"` TLSMinVersion string `json:"tls_min_version"` TLSMaxVersion string `json:"tls_max_version"` // This json tag deviates from snake case because there was a past issue // where the tag was being ignored, causing it to be jsonified as "CaseSensitiveNames". // To continue reading in users' previously stored values, // we chose to carry that forward. CaseSensitiveNames *bool `json:"CaseSensitiveNames,omitempty"` // contains filtered or unexported fields }
func (*ConfigEntry) GetTLSConfig ¶ added in v0.2.0
func (c *ConfigEntry) GetTLSConfig(host string) (*tls.Config, error)
type GroupEntry ¶
type GroupEntry struct {
Policies []string
}
Click to show internal directories.
Click to hide internal directories.