Documentation ¶
Overview ¶
provider contains authentication methods.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBaseProvider ¶
NewBaseProvider creates new provider.
func NewLdapProvider ¶
func NewLdapProvider( cp security.ConfigProvider, up security.UserProvider, d LdapDialer, ) security.Provider
NewLdapProvider creates new provider.
Types ¶
type LdapDialer ¶
type LdapDialer interface {
DialURL(config *security.LdapConfig) (ldap.Client, error)
}
LdapDialer interface is used to implement creation of LDAP connection.
Click to show internal directories.
Click to hide internal directories.