toggle menu
modelix.core
8.16.0
jvm
switch theme
search in API
model-server
/
org.modelix.model.server.handlers
/
IdsApiImpl
Ids
Api
Impl
class
IdsApiImpl
(
repositoriesManager
:
IRepositoriesManager
,
modelClient
:
LocalModelClient
)
Implementation of the REST API that is responsible for handling client and server IDs.
Members
Constructors
Ids
Api
Impl
Link copied to clipboard
constructor
(
modelClient
:
LocalModelClient
)
constructor
(
storeClient
:
IStoreClient
)
constructor
(
repositoriesManager
:
RepositoriesManager
)
constructor
(
repositoriesManager
:
IRepositoriesManager
,
modelClient
:
LocalModelClient
)
Functions
generate
Client
Id
Link copied to clipboard
open
suspend
fun
PipelineContext
<
Unit
,
ApplicationCall
>
.
generateClientId
(
)
get
Server
Id
Link copied to clipboard
open
suspend
fun
PipelineContext
<
Unit
,
ApplicationCall
>
.
getServerId
(
)
get
User
Id
Link copied to clipboard
open
suspend
fun
PipelineContext
<
Unit
,
ApplicationCall
>
.
getUserId
(
)
init
Link copied to clipboard
fun
init
(
application
:
Application
)