UserController

@RestController
@RequestMapping(value = "/api/user")
open class UserController

Constructors

Link copied to clipboard
@Autowired
constructor(productUserService: ProductUserService, portfolioService: PortfolioService)

Functions

Link copied to clipboard
@GetMapping(value = "/tier")
@PreAuthorize(value = "isAuthenticated()")
@NotNull
open fun getMySubscriptionTier(@AuthenticationPrincipal @NotNull user: @NotNull ProductUser): @NotNull ResponseEntity<SubscriptionTierResponse>