Liking cljdoc? Tell your friends :D

keycloak.deployment


access-tokenclj

(access-token deployment keycloak-client username password)
source

client-confclj

(client-conf realm-name client-name keycloak-app-server-url)
(client-conf realm-name client-name keycloak-app-server-url client-secret)
source

deploymentclj

(deployment client-conf)

take a keycloak configuration as EDN and return a KeycloakDeployment object

take a keycloak configuration as EDN and return a KeycloakDeployment object
sourceraw docstring

deployment-for-realmsclj

(deployment-for-realms keycloak-client
                       keycloak-app-server-url
                       client-name
                       realms-name)

Given an keycloak client with admin priv., an array of realm name, retrieve the secrets and build dynamically a map with realm-name as key and the keycloak deployment as value, useful for large number of realms and multi-tenant applications, otherwise define them statically

Given an keycloak client with admin priv., an array of realm name, retrieve the secrets and build dynamically a map with realm-name as key and the keycloak deployment as value, useful for large number of realms and multi-tenant applications, otherwise define them statically
sourceraw docstring

extractclj

(extract access-token)

return a map with :user and :roles keys with values extracted from the Keycloak access token along with all the props of the AccessToken bean

return a map with :user and :roles keys with values extracted from the Keycloak access token along with all the props of the AccessToken bean
sourceraw docstring

keycloak-clientclj

(keycloak-client conf secret)
(keycloak-client conf username password)
source

verifyclj

(verify deployments realm-name token)
source

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

× close