ldap

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: AGPL-3.0 Imports: 22 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Runtime *env.Runtime
	Store   *store.Store
}

Handler contains the runtime information such as logging and database.

func (*Handler) Authenticate

func (h *Handler) Authenticate(w http.ResponseWriter, r *http.Request)

Authenticate checks LDAP authentication credentials.

func (*Handler) Preview

func (h *Handler) Preview(w http.ResponseWriter, r *http.Request)

Preview connects to LDAP using paylaod and returns first 50 users.

func (*Handler) Sync

func (h *Handler) Sync(w http.ResponseWriter, r *http.Request)

Sync gets list of LDAP users and inserts new users into Documize.

Jump to

Keyboard shortcuts

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