From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- .../-security-mgr/-init-.html | 2 +- .../-security-mgr/after-error.html | 2 +- .../-security-mgr/after-login.html | 2 +- .../-security-mgr/index.html | 46 ++++++++-------------- .../-security-mgr/login.html | 2 +- .../-security-mgr/with-auth.html | 4 +- 6 files changed, 22 insertions(+), 36 deletions(-) (limited to 'api/pl.treksoft.kvision.remote/-security-mgr') diff --git a/api/pl.treksoft.kvision.remote/-security-mgr/-init-.html b/api/pl.treksoft.kvision.remote/-security-mgr/-init-.html index d276e99a..d725a2de 100644 --- a/api/pl.treksoft.kvision.remote/-security-mgr/-init-.html +++ b/api/pl.treksoft.kvision.remote/-security-mgr/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.remote / SecurityMgr / <init>

<init>

- +(js) SecurityMgr()

Form login dispatcher.

diff --git a/api/pl.treksoft.kvision.remote/-security-mgr/after-error.html b/api/pl.treksoft.kvision.remote/-security-mgr/after-error.html index 68c357da..e2c9648e 100644 --- a/api/pl.treksoft.kvision.remote/-security-mgr/after-error.html +++ b/api/pl.treksoft.kvision.remote/-security-mgr/after-error.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.remote / SecurityMgr / afterError

afterError

- +(js) open suspend fun afterError(): Unit

Method called after error.

diff --git a/api/pl.treksoft.kvision.remote/-security-mgr/after-login.html b/api/pl.treksoft.kvision.remote/-security-mgr/after-login.html index f018290f..094e7580 100644 --- a/api/pl.treksoft.kvision.remote/-security-mgr/after-login.html +++ b/api/pl.treksoft.kvision.remote/-security-mgr/after-login.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.remote / SecurityMgr / afterLogin

afterLogin

- +(js) open suspend fun afterLogin(): Unit

Method called after successful login.

diff --git a/api/pl.treksoft.kvision.remote/-security-mgr/index.html b/api/pl.treksoft.kvision.remote/-security-mgr/index.html index 625ecad1..53e08fe5 100644 --- a/api/pl.treksoft.kvision.remote/-security-mgr/index.html +++ b/api/pl.treksoft.kvision.remote/-security-mgr/index.html @@ -8,19 +8,19 @@ kvision / pl.treksoft.kvision.remote / SecurityMgr

SecurityMgr

-abstract class SecurityMgr +(js) abstract class SecurityMgr

Form login dispatcher.

Constructors

+SecurityMgr()
-

<init>

+(js) +

<init>

-SecurityMgr()

Form login dispatcher.

-
@@ -29,53 +29,39 @@ -

afterError

+(js) +

afterError

-open suspend fun afterError(): Unit

Method called after error.

- +open suspend fun afterError(): Unit -

afterLogin

+(js) +

afterLogin

-open suspend fun afterLogin(): Unit

Method called after successful login.

- +open suspend fun afterLogin(): Unit -

login

+(js) +

login

-abstract suspend fun login(): Boolean

Login user.

- +abstract suspend fun login(): Boolean -

withAuth

+(js) +

withAuth

-suspend fun <T> withAuth(block: suspend () -> T): T

Executes given block of code after successful authentication.

- - - - -

Extension Functions

- - - - - +suspend fun <T> withAuth(block: suspend () -> T): T
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
diff --git a/api/pl.treksoft.kvision.remote/-security-mgr/login.html b/api/pl.treksoft.kvision.remote/-security-mgr/login.html index a859fdd1..d902f718 100644 --- a/api/pl.treksoft.kvision.remote/-security-mgr/login.html +++ b/api/pl.treksoft.kvision.remote/-security-mgr/login.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.remote / SecurityMgr / login

login

- +(js) abstract suspend fun login(): Boolean

Login user.

Exceptions

diff --git a/api/pl.treksoft.kvision.remote/-security-mgr/with-auth.html b/api/pl.treksoft.kvision.remote/-security-mgr/with-auth.html index 2411563a..0a091900 100644 --- a/api/pl.treksoft.kvision.remote/-security-mgr/with-auth.html +++ b/api/pl.treksoft.kvision.remote/-security-mgr/with-auth.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.remote / SecurityMgr / withAuth

withAuth

- -suspend fun <T> withAuth(block: suspend () -> T): T +(js) +suspend fun <T> withAuth(block: suspend () -> T): T

Executes given block of code after successful authentication.

Parameters

-- cgit