Class UserProfileController

java.lang.Object
io.meeds.deeds.web.rest.UserProfileController

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

    • UserProfileController

      public UserProfileController()
  • Method Details

    • getEmail

      @GetMapping(path="/email", produces="text/plain") @RolesAllowed("USER") @ResponseStatus(OK) public String getEmail(Principal principal)