From eb930482e9972a21d39f2aea8b813acf58ff5b64 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 22 Oct 2018 00:01:39 +0200 Subject: API documentation for KVision 0.0.19 --- .../-security-mgr/-init-.html | 15 +++++ .../-security-mgr/after-error.html | 15 +++++ .../-security-mgr/after-login.html | 15 +++++ .../-security-mgr/index.html | 69 ++++++++++++++++++++++ .../-security-mgr/login.html | 20 +++++++ .../-security-mgr/with-auth.html | 18 ++++++ 6 files changed, 152 insertions(+) create mode 100644 api/pl.treksoft.kvision.remote/-security-mgr/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-security-mgr/after-error.html create mode 100644 api/pl.treksoft.kvision.remote/-security-mgr/after-login.html create mode 100644 api/pl.treksoft.kvision.remote/-security-mgr/index.html create mode 100644 api/pl.treksoft.kvision.remote/-security-mgr/login.html create mode 100644 api/pl.treksoft.kvision.remote/-security-mgr/with-auth.html (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 new file mode 100644 index 00000000..4e31e55d --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-security-mgr/-init-.html @@ -0,0 +1,15 @@ + + + +SecurityMgr.<init> - kvision + + + +kvision / pl.treksoft.kvision.remote / SecurityMgr / <init>
+
+

<init>

+ +SecurityMgr() +

Pac4j 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 new file mode 100644 index 00000000..68c357da --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-security-mgr/after-error.html @@ -0,0 +1,15 @@ + + + +SecurityMgr.afterError - kvision + + + +kvision / pl.treksoft.kvision.remote / SecurityMgr / afterError
+
+

afterError

+ +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 new file mode 100644 index 00000000..f018290f --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-security-mgr/after-login.html @@ -0,0 +1,15 @@ + + + +SecurityMgr.afterLogin - kvision + + + +kvision / pl.treksoft.kvision.remote / SecurityMgr / afterLogin
+
+

afterLogin

+ +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 new file mode 100644 index 00000000..2c1b3d96 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-security-mgr/index.html @@ -0,0 +1,69 @@ + + + +SecurityMgr - kvision + + + +kvision / pl.treksoft.kvision.remote / SecurityMgr
+
+

SecurityMgr

+abstract class SecurityMgr +

Pac4j form login dispatcher.

+

Constructors

+ + + + + + + +
+

<init>

+
+SecurityMgr() +

Pac4j form login dispatcher.

+
+

Functions

+ + + + + + + + + + + + + + + + + + + +
+

afterError

+
+open suspend fun afterError(): Unit +

Method called after error.

+
+

afterLogin

+
+open suspend fun afterLogin(): Unit +

Method called after successful login.

+
+

login

+
+abstract suspend fun login(): Boolean +

Login user.

+
+

withAuth

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

Executes given block of code after successful authentication.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-security-mgr/login.html b/api/pl.treksoft.kvision.remote/-security-mgr/login.html new file mode 100644 index 00000000..a859fdd1 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-security-mgr/login.html @@ -0,0 +1,20 @@ + + + +SecurityMgr.login - kvision + + + +kvision / pl.treksoft.kvision.remote / SecurityMgr / login
+
+

login

+ +abstract suspend fun login(): Boolean +

Login user.

+

Exceptions

+

+SecurityException - if login is not successful

+

Return
+true if login is successful

+ + diff --git a/api/pl.treksoft.kvision.remote/-security-mgr/with-auth.html b/api/pl.treksoft.kvision.remote/-security-mgr/with-auth.html new file mode 100644 index 00000000..cf76923e --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-security-mgr/with-auth.html @@ -0,0 +1,18 @@ + + + +SecurityMgr.withAuth - kvision + + + +kvision / pl.treksoft.kvision.remote / SecurityMgr / withAuth
+
+

withAuth

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

Executes given block of code after successful authentication.

+

Parameters

+

+block - a block of code

+ + -- cgit