blob: 0a091900d6a67faf942d0a0e0b70365d824542c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SecurityMgr.withAuth - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<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>
(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>
<code>block</code> - a block of code</p>
</BODY>
</HTML>
|