Merge pull request #3796 from patriot1burke/master

KEYCLOAK-4289
This commit is contained in:
Bill Burke 2017-01-25 17:27:53 -05:00 committed by GitHub
commit 88a37067ad

View file

@ -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<String> credentialTypes);
@PUT
@Path("reset-password")
public void resetPassword(CredentialRepresentation credentialRepresentation);