KEYCLOAK-1960

This commit is contained in:
Bill Burke 2015-10-15 18:56:56 -04:00
parent 181fdeb0d0
commit 235ffb2ff6
2 changed files with 14 additions and 0 deletions

View file

@ -46,12 +46,22 @@ public interface UserResource {
@Path("reset-password")
public void resetPassword(CredentialRepresentation credentialRepresentation);
/**
* Use executeActionsEmail and pass in the UPDATE_PASSWORD required action
*
*/
@PUT
@Path("reset-password-email")
@Deprecated
public void resetPasswordEmail();
/**
* Use executeActionsEmail and pass in the UPDATE_PASSWORD required action
*
*/
@PUT
@Path("reset-password-email")
@Deprecated
public void resetPasswordEmail(@QueryParam("client_id") String clientId);
@PUT

View file

@ -886,11 +886,15 @@ public class UsersResource {
* The redirectUri and clientId parameters are optional. The default for the
* redirect is the account client.
*
* This endpoint has been deprecated. Please use the execute-actions-email passing a list with
* UPDATE_PASSWORD within it.
*
* @param id
* @param redirectUri redirect uri
* @param clientId client id
* @return
*/
@Deprecated
@Path("{id}/reset-password-email")
@PUT
@Consumes(MediaType.APPLICATION_JSON)