keycloak

package
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: AGPL-3.0 Imports: 23 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(c keycloakConfig) (users []user.User, err error)

Fetch gets list of Keycloak users for specified Realm, Client Id

Types

type Handler

type Handler struct {
	Runtime *env.Runtime
	Store   *domain.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 Keycloak authentication credentials.

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