(apply-role-mappings-plan! keycloak-client realm-name plan & [opts])
(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-differents k current desired keyseq)
find items in current coll that are different from the ones in the desired coll using the optional keys in keyseq to check equality only on these keys
find items in current coll that are different from the ones in the desired coll using the optional keys in keyseq to check equality only on these keys
(reconciliate-role-mappings! admin-client realm-name roles users & [opts])
(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 {:client-id1 ["role2"]}}} return a map with keys as :realm-role-mapping/additions and deletions with a map of user to roles NB: only realm roles for the moment
Make a role plan, all considered roles must be given as input and the desired role-mappings as {"username" {:realm-roles ["role1"] :client-roles {:client-id1 ["role2"]}}} return a map with keys as :realm-role-mapping/additions and deletions with a map of user to roles NB: only realm roles for the moment
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close