Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticator ¶
Types ¶
type LdapAuthenticator ¶
type LdapAuthenticator struct {
Server string
Port int
BaseDN string
DefaultAccessLevel string
AutocreateUsers bool
}
func (LdapAuthenticator) Authenticate ¶
func (a LdapAuthenticator) Authenticate(username, password, hash string) (bool, error)
func (LdapAuthenticator) GenerateToken ¶
func (a LdapAuthenticator) GenerateToken() (string, error)
func (LdapAuthenticator) IsUpdateSupported ¶
func (a LdapAuthenticator) IsUpdateSupported() bool
func (LdapAuthenticator) Name ¶
func (a LdapAuthenticator) Name() string
Click to show internal directories.
Click to hide internal directories.