Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ldap ¶
type Ldap struct { *LdapConfig // contains filtered or unexported fields }
func NewLdap ¶
func NewLdap(conf *LdapConfig, certificates []tls.Certificate) (*Ldap, error)
func (*Ldap) GetUserRaw ¶
type LdapConfig ¶
type LdapConfig struct { Addr string `json:"addr"` BaseDN string `json:"baseDn"` BindDN string `json:"bindDn"` BindPwd string `json:"bindPwd"` Filter string `json:"filter"` SSL bool `json:"ssl"` TLS bool `json:"tls"` InsecureSkipVerify bool `json:"insecureSkipVerify"` }
func (LdapConfig) String ¶
func (p LdapConfig) String() string
func (*LdapConfig) Validate ¶
func (p *LdapConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.