abstract class SecurityMgr
Form login dispatcher.
SecurityMgr()
Form login dispatcher. |
open suspend fun afterError(): Unit
Method called after error. |
|
open suspend fun afterLogin(): Unit
Method called after successful login. |
|
abstract suspend fun login(): Boolean
Login user. |
|
suspend fun <T> withAuth(block: suspend () -> T): T
Executes given block of code after successful authentication. |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |