diff options
Diffstat (limited to 'api/pl.treksoft.kvision.remote/-security-mgr')
6 files changed, 22 insertions, 36 deletions
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 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="index.html">SecurityMgr</a> / <a href="./-init-.html"><init></a><br/> <br/> <h1><init></h1> -<a name="pl.treksoft.kvision.remote.SecurityMgr$<init>()"></a> +(js) <a name="pl.treksoft.kvision.remote.SecurityMgr$<init>()"></a> <code><span class="identifier">SecurityMgr</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>Form login dispatcher.</p> </BODY> 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 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="index.html">SecurityMgr</a> / <a href="./after-error.html">afterError</a><br/> <br/> <h1>afterError</h1> -<a name="pl.treksoft.kvision.remote.SecurityMgr$afterError()"></a> +(js) <a name="pl.treksoft.kvision.remote.SecurityMgr$afterError()"></a> <code><span class="keyword">open</span> <span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">afterError</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> <p>Method called after error.</p> </BODY> 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 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="index.html">SecurityMgr</a> / <a href="./after-login.html">afterLogin</a><br/> <br/> <h1>afterLogin</h1> -<a name="pl.treksoft.kvision.remote.SecurityMgr$afterLogin()"></a> +(js) <a name="pl.treksoft.kvision.remote.SecurityMgr$afterLogin()"></a> <code><span class="keyword">open</span> <span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">afterLogin</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> <p>Method called after successful login.</p> </BODY> 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 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="./index.html">SecurityMgr</a><br/> <br/> <h1>SecurityMgr</h1> -<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">SecurityMgr</span></code> +(js) <code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">SecurityMgr</span></code> <p>Form login dispatcher.</p> <h3>Constructors</h3> <table> <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +(js) +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">SecurityMgr</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>Form login dispatcher.</p> -</td> +<code><span class="identifier">SecurityMgr</span><span class="symbol">(</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> @@ -29,53 +29,39 @@ <tbody> <tr> <td> -<p><a href="after-error.html">afterError</a></p> +(js) +<h4><a href="after-error.html">afterError</a></h4> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">afterError</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> <p>Method called after error.</p> -</td> +<code><span class="keyword">open</span> <span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">afterError</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> </tr> <tr> <td> -<p><a href="after-login.html">afterLogin</a></p> +(js) +<h4><a href="after-login.html">afterLogin</a></h4> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">afterLogin</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> <p>Method called after successful login.</p> -</td> +<code><span class="keyword">open</span> <span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">afterLogin</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> </tr> <tr> <td> -<p><a href="login.html">login</a></p> +(js) +<h4><a href="login.html">login</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">login</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> <p>Login user.</p> -</td> +<code><span class="keyword">abstract</span> <span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">login</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> </tr> <tr> <td> -<p><a href="with-auth.html">withAuth</a></p> +(js) +<h4><a href="with-auth.html">withAuth</a></h4> </td> <td> -<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">withAuth</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.SecurityMgr$withAuth(kotlin.coroutines.SuspendFunction0((pl.treksoft.kvision.remote.SecurityMgr.withAuth.T)))/block">block</span><span class="symbol">:</span> <span class="keyword">suspend </span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="with-auth.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="with-auth.html#T"><span class="identifier">T</span></a></code> <p>Executes given block of code after successful authentication.</p> -</td> -</tr> -</tbody> -</table> -<h3>Extension Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> -</td> -<td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> -<p>Helper function for creating JavaScript objects from dynamic constructors.</p> -</td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">withAuth</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.SecurityMgr$withAuth(kotlin.coroutines.SuspendFunction0((pl.treksoft.kvision.remote.SecurityMgr.withAuth.T)))/block">block</span><span class="symbol">:</span> <span class="keyword">suspend </span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span></code></td> </tr> </tbody> </table> 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 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="index.html">SecurityMgr</a> / <a href="./login.html">login</a><br/> <br/> <h1>login</h1> -<a name="pl.treksoft.kvision.remote.SecurityMgr$login()"></a> +(js) <a name="pl.treksoft.kvision.remote.SecurityMgr$login()"></a> <code><span class="keyword">abstract</span> <span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">login</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> <p>Login user.</p> <h3>Exceptions</h3> 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 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="index.html">SecurityMgr</a> / <a href="./with-auth.html">withAuth</a><br/> <br/> <h1>withAuth</h1> -<a name="pl.treksoft.kvision.remote.SecurityMgr$withAuth(kotlin.coroutines.SuspendFunction0((pl.treksoft.kvision.remote.SecurityMgr.withAuth.T)))"></a> -<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">withAuth</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.SecurityMgr$withAuth(kotlin.coroutines.SuspendFunction0((pl.treksoft.kvision.remote.SecurityMgr.withAuth.T)))/block">block</span><span class="symbol">:</span> <span class="keyword">suspend </span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="with-auth.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="with-auth.html#T"><span class="identifier">T</span></a></code> +(js) <a name="pl.treksoft.kvision.remote.SecurityMgr$withAuth(kotlin.coroutines.SuspendFunction0((pl.treksoft.kvision.remote.SecurityMgr.withAuth.T)))"></a> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">withAuth</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.SecurityMgr$withAuth(kotlin.coroutines.SuspendFunction0((pl.treksoft.kvision.remote.SecurityMgr.withAuth.T)))/block">block</span><span class="symbol">:</span> <span class="keyword">suspend </span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span></code> <p>Executes given block of code after successful authentication.</p> <h3>Parameters</h3> <p><a name="block"></a> |