community: Index | Files

package ldap

import ""


Package Files

endpoint.go ldap.go

type Handler Uses

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

Handler contains the runtime information such as logging and database.

func (*Handler) Authenticate Uses

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

Authenticate checks LDAP authentication credentials.

func (*Handler) Preview Uses

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

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

func (*Handler) Sync Uses

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

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

Package ldap imports 22 packages (graph) and is imported by 1 packages. Updated 2019-11-13. Refresh now. Tools for package owners.