(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]}`
(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
(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
(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
(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"]}}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close