Class UserInfoEndpoint

java.lang.Object
com.broadleafcommerce.auth.user.web.endpoint.UserInfoEndpoint

@FrameworkRestController public class UserInfoEndpoint extends Object
Endpoint for retrieving information about the currently authenticated user
Author:
Jeff Fischer
  • Constructor Details

    • UserInfoEndpoint

      public UserInfoEndpoint(UserService<User> userService)
  • Method Details

    • user

      @FrameworkGetMapping(value={"/user","/me"}, params="client_id") @PreAuthorize("isAuthenticated()") public User user(@RequestParam("client_id") String clientId, Principal principal)