kvision / pl.treksoft.kvision.remote / SecurityMgr / withAuth

withAuth

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

Executes given block of code after successful authentication.

Parameters

block - a block of code