Class UserProfileController

java.lang.Object
org.bh_foundation.e_sign.controllers.UserProfileController

@RestController @RequestMapping("/api/profile") public class UserProfileController extends Object
  • Constructor Details

    • UserProfileController

      public UserProfileController(UserService userService)
  • Method Details

    • update

      @PutMapping("/update") public org.springframework.http.ResponseEntity<ResponseDto<?>> update(@RequestParam String username, @RequestParam String email)
    • resetPassword

      @PutMapping("/reset-password") public org.springframework.http.ResponseEntity<ResponseDto<?>> resetPassword(@RequestParam String old_password, @RequestParam String new_password)