GetDirectSessionApi

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

Inheritors

Types

Link copied to clipboard
sealed interface Errors
Link copied to clipboard
data class Response(val sessionId: String)

Functions

Link copied to clipboard
@Get(value = "/users/{username}/session")
@Status(value = HttpStatus.OK)
abstract fun get(principal: Principal, @PathVariable username: String): GetDirectSessionApi.Response
Link copied to clipboard
@Status(value = HttpStatus.NOT_FOUND)
open fun onDirectSessionNotFound(exception: DirectErrors.DirectNotFound, @PathVariable username: String): GetDirectSessionApi.Errors.DirectSessionNotFound