keycloak.utils

auth-server-url

(auth-server-url infra-config)(auth-server-url protocol host port)

hint-typed-doto

macro

added in 1.0

(hint-typed-doto type x & forms)

Evaluates x then calls all of the methods and functions with the value of x supplied at the front of the given arguments. The forms are evaluated in order. Returns x. (doto (new java.util.HashMap) (.put “a” 1) (.put “b” 2))

ns-clean

(ns-clean)(ns-clean ns)

Remove all internal mappings from a given name space or the current one if no parameter given.

set-attributes

(set-attributes representation attributes)

call setAttributes(Map<String,String>) method on representation object with a clojure map

setters

macro

(setters m type)

Given a compile-time literal map of attributes and values, return a function that calls the corresponding setters on some java object.