(create-or-update-user! keycloak-client
realm-name
{:keys [username first-name last-name email password]
:as person}
realm-roles
client-roles)
(create-user! keycloak-client
realm-name
{:keys [username first-name last-name email password is-manager]
:as person})
(delete-and-create-user! keycloak-client realm-name person)
(delete-and-create-user! keycloak-client
realm-name
{:keys [username first-name last-name email password]
:as person}
realm-roles
client-roles)
(delete-user! keycloak-client realm-name user-attribute)
delete user with any attribute
delete user with any attribute
(generate-user-representation)
(generate-user-representation username)
(get-client-resource keycloak-client realm-name client-id)
Return a org.keycloak.admin.client.resource.ClientResource
given a keycloak-client
, realm-name
and id
. Be careful the id is the UUID attributed by Keycloak during the creation of the client and not the clientId
given by the user
Return a [org.keycloak.admin.client.resource.ClientResource](https://www.keycloak.org/docs-api/11.0/javadocs/org/keycloak/admin/client/resource/ClientResource.html) given a `keycloak-client`, `realm-name` and `id`. Be careful the id is the UUID attributed by Keycloak during the creation of the client and not the `clientId` given by the user
(get-users keycloak-client realm-name)
(get-users keycloak-client realm-name first result)
(get-users-aggregated-by-client-roles keycloak-client
realm-name
client-id
roles)
(get-users-aggregated-by-realm-roles keycloak-client realm-name roles)
(get-users-with-client-role keycloak-client realm-name client-id role-name)
return a list of users as UserRepresentation that have the role-name
as role mapping
return a list of users as UserRepresentation that have the `role-name` as role mapping
(get-users-with-realm-role keycloak-client realm-name role-name)
return a list of users as UserRepresentation that have the role-name
as role mapping
return a list of users as UserRepresentation that have the `role-name` as role mapping
(search-user keycloak-client realm-name user-attribute)
(search-user keycloak-client realm-name username first-name last-name email)
(update-user! keycloak-client
realm-name
user-id
{:keys [username first-name last-name email password] :as person})
(user-for-creation
{:keys [username first-name last-name email password attributes] :as person})
(user-for-creation
{:keys [username first-name last-name email password attributes] :as person}
required-actions)
(user-for-update {:keys [username first-name last-name email enabled attributes
password]
:or {enabled true}
:as person})
(user-id keycloak-client realm-name user-attribute)
(user-id keycloak-client realm-name username first-name last-name email)
Return a user-id from either one of (username|first-name|last-name|email) attributes that match exactly or all of these attributes to match
Return a user-id from either one of (username|first-name|last-name|email) attributes that match exactly or all of these attributes to match
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close