com.kurzdigital.keycloak.UserApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of keycloak-admin-wrapper Show documentation
Show all versions of keycloak-admin-wrapper Show documentation
This is a wrapper around the official (REST - based) Keycloak Admin API. See www.keycloak.org for more details about keycloak and the Admin API.
package com.kurzdigital.keycloak;
public interface UserApi {
KeycloakUser getUser(String userId);
KeycloakUser findUserByEmail(String email);
KeycloakUser createUser(KeycloakUser user) throws MailAlreadyExistsException;
KeycloakUser createUser(KeycloakUser user, String password) throws MailAlreadyExistsException;
void updateUser(KeycloakUser user);
void updatePassword(String password, String keycloakUserId);
void forgotPassword(String keycloakId);
void disableUser(String keycloakUserId);
void enableUser(String keycloakUserId);
}