ldap

package
v2.0.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: AGPL-3.0 Imports: 22 Imported by: 0

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 Keycloak users and inserts new users into Documize and marks Keycloak disabled users as inactive.

Jump to

Keyboard shortcuts

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