community: Index | Files

package keycloak

import ""


Package Files

endpoint.go keycloak.go

func Fetch Uses

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

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

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 Keycloak authentication credentials.

func (*Handler) Sync Uses

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.

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