aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.remote/-security-mgr/with-auth.html
blob: 2411563a212bbe132f921ef8ba788404bec7b72b (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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.remote</a>&nbsp;/&nbsp;<a href="index.html">SecurityMgr</a>&nbsp;/&nbsp;<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">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</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>&nbsp;<span class="keyword">suspend </span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>
<h3>Parameters</h3>
<p><a name="block"></a>
<code>block</code> - a block of code</p>
</BODY>
</HTML>