UserController

@Controller
class UserController(userService: UserService) : UserApi

Controller for the user operations.

Parameters

userService

The service to handle the user operations.

Constructors

Link copied to clipboard
constructor(userService: UserService)

Functions

Link copied to clipboard
open override fun getUser(username: String): UserDTO

Get a user by username.

Link copied to clipboard
open override fun whoami(principal: Principal): UserDTO

Get the current user.