From c6dab26769036ac9cda3bfca779b7d0ee71c6503 Mon Sep 17 00:00:00 2001 From: Bill Burke Date: Wed, 25 Jan 2017 16:30:30 -0500 Subject: [PATCH] KEYCLOAK-4289 --- .../keycloak/admin/client/resource/UserResource.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/integration/admin-client/src/main/java/org/keycloak/admin/client/resource/UserResource.java b/integration/admin-client/src/main/java/org/keycloak/admin/client/resource/UserResource.java index 9cb090bb91..f138d431aa 100755 --- a/integration/admin-client/src/main/java/org/keycloak/admin/client/resource/UserResource.java +++ b/integration/admin-client/src/main/java/org/keycloak/admin/client/resource/UserResource.java @@ -76,6 +76,18 @@ public interface UserResource { @Path("remove-totp") public void removeTotp(); + /** + * Disables or deletes all credentials for specific types. + * Type examples "otp", "password" + * + * + * @param credentialTypes + */ + @Path("disable-credential-types") + @PUT + @Consumes(MediaType.APPLICATION_JSON) + public void disableCredentialType(List credentialTypes); + @PUT @Path("reset-password") public void resetPassword(CredentialRepresentation credentialRepresentation);