ldap

package
v3.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2015 License: Apache-2.0 Imports: 4 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthenticator

func NewAuthenticator(server string, port int, baseDN string, autocreateUsers bool, defaultAccessLevel string) auth.Authenticator

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL