UserApi

@Secured(value = ["isAuthenticated()"])
interface UserApi

Inheritors

Types

Link copied to clipboard
sealed interface Errors

Functions

Link copied to clipboard
@Get(value = "/users/{username}")
abstract fun getUser(@PathVariable username: String): UserDTO
Link copied to clipboard
@Get(value = "/whoami")
abstract fun whoami(principal: Principal): UserDTO