From c7169d6e9dec101fc5523f84766b6fd0c3ecb656 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 16 Feb 2019 23:29:42 +0100 Subject: API documentation for KVision 0.0.25 --- api/pl.treksoft.kvision.remote/index.html | 68 +++++++++++++++++++++---------- 1 file changed, 47 insertions(+), 21 deletions(-) (limited to 'api/pl.treksoft.kvision.remote/index.html') diff --git a/api/pl.treksoft.kvision.remote/index.html b/api/pl.treksoft.kvision.remote/index.html index fdaa1be6..4bf1959f 100644 --- a/api/pl.treksoft.kvision.remote/index.html +++ b/api/pl.treksoft.kvision.remote/index.html @@ -23,6 +23,13 @@ +

CallModule

+ + +class CallModule + + +

Credentials

@@ -48,16 +55,6 @@ -

KVServer

- - -open actual class KVServer -

A server. -Not used on the js platform.

- - - -

KVServiceManager

@@ -71,11 +68,18 @@ Not used on the js platform.

class LoginService -

Pac4j form login dispatcher.

+

Form login dispatcher.

+

MainModule

+ + +class MainModule + + +

Profile

@@ -98,16 +102,9 @@ Not used on the js platform.

abstract class SecurityMgr -

Pac4j form login dispatcher.

+

Form login dispatcher.

- - -

SpringContext

- - -class SpringContext -

Exceptions

@@ -150,6 +147,20 @@ Not used on the js platform.

HTTP status unauthorized (401).

+ + +

INJECTOR_KEY

+ + +val INJECTOR_KEY: <ERROR CLASS> + + + +

injector

+ + +val <ERROR CLASS>.injector: <ERROR CLASS> +

Functions

@@ -164,11 +175,26 @@ Not used on the js platform.

+

applyRoutes

+ + +fun <T : Any> <ERROR CLASS>.applyRoutes(serviceManager: KVServiceManager<T>): Unit + + + +

kvisionInit

+ + +fun <ERROR CLASS>.kvisionInit(): Unit
+fun <ERROR CLASS>.kvisionInit(vararg modules: <ERROR CLASS>): Unit + + +

withProfile

-fun <RESP> <ERROR CLASS>.withProfile(block: (Profile) -> RESP): RESP
-fun <RESP> withProfile(block: (Profile) -> RESP): RESP +suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP
+suspend fun <RESP> withProfile(block: suspend (Profile) -> RESP): RESP

A helper extension function for processing with authenticated user profile.

-- cgit