Liking cljdoc? Tell your friends :D

keycloak.reconciliation


aggregate-by-roleclj

(aggregate-by-role username->roles)

From a map of user with values their roles, aggregate the users by role instead. (aggregate-by-role {:user1 [:a :b :c] :user2 [:b] :user3 [:a :b :c]}) => {:a [:user1 :user3] :b [:user1 :user2 :user3] :c [:user1 :user3]}

From a map of user with values their roles, aggregate the users by role instead.
`(aggregate-by-role {:user1 [:a :b :c] :user2 [:b] :user3 [:a :b :c]})` => `{:a [:user1 :user3] :b [:user1 :user2 :user3] :c [:user1 :user3]}`
sourceraw docstring

apply-users-planclj

(apply-users-plan keycloak-client realm-name plan)
source

find-additionsclj

(find-additions k current desired)

find items in desired coll missing from the current coll

find items in desired coll missing from the current coll
sourceraw docstring

find-deletionsclj

(find-deletions k current desired)

find items in current coll missing from the desired coll

find items in current coll missing from the desired coll
sourceraw docstring

find-differentsclj

(find-differents k current desired)

find items in current coll that are different from the ones in the desired coll

find items in current coll that are different from the ones in the desired coll
sourceraw docstring

make-role-mappings-planclj

(make-role-mappings-plan keycloak-client realm-name roles desired-role-mappings)

Make a role plan, all considered roles must be given as input and the desired role-mappings as {"username" {:realm-roles ["role1"] :client-roles ["role2"]}}

Make a role plan, all considered roles must be given as input and the desired role-mappings as {"username" {:realm-roles ["role1"]
:client-roles ["role2"]}} 
sourceraw docstring

make-users-planclj

(make-users-plan keycloak-client realm-name desired-users)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close