keycloak

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: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(c auth.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   *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 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