KEYCLOAK-1960
This commit is contained in:
parent
181fdeb0d0
commit
235ffb2ff6
2 changed files with 14 additions and 0 deletions
|
@ -46,12 +46,22 @@ public interface UserResource {
|
||||||
@Path("reset-password")
|
@Path("reset-password")
|
||||||
public void resetPassword(CredentialRepresentation credentialRepresentation);
|
public void resetPassword(CredentialRepresentation credentialRepresentation);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Use executeActionsEmail and pass in the UPDATE_PASSWORD required action
|
||||||
|
*
|
||||||
|
*/
|
||||||
@PUT
|
@PUT
|
||||||
@Path("reset-password-email")
|
@Path("reset-password-email")
|
||||||
|
@Deprecated
|
||||||
public void resetPasswordEmail();
|
public void resetPasswordEmail();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Use executeActionsEmail and pass in the UPDATE_PASSWORD required action
|
||||||
|
*
|
||||||
|
*/
|
||||||
@PUT
|
@PUT
|
||||||
@Path("reset-password-email")
|
@Path("reset-password-email")
|
||||||
|
@Deprecated
|
||||||
public void resetPasswordEmail(@QueryParam("client_id") String clientId);
|
public void resetPasswordEmail(@QueryParam("client_id") String clientId);
|
||||||
|
|
||||||
@PUT
|
@PUT
|
||||||
|
|
|
@ -886,11 +886,15 @@ public class UsersResource {
|
||||||
* The redirectUri and clientId parameters are optional. The default for the
|
* The redirectUri and clientId parameters are optional. The default for the
|
||||||
* redirect is the account client.
|
* 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 id
|
||||||
* @param redirectUri redirect uri
|
* @param redirectUri redirect uri
|
||||||
* @param clientId client id
|
* @param clientId client id
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
@Path("{id}/reset-password-email")
|
@Path("{id}/reset-password-email")
|
||||||
@PUT
|
@PUT
|
||||||
@Consumes(MediaType.APPLICATION_JSON)
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
|
|
Loading…
Reference in a new issue