SecurityMgr

abstract class SecurityMgr

Form login dispatcher.

Constructors

SecurityMgr
Link copied to clipboard
fun SecurityMgr()

Functions

afterError
Link copied to clipboard
open suspend fun afterError()

Method called after error.

afterLogin
Link copied to clipboard
open suspend fun afterLogin()

Method called after successful login.

login
Link copied to clipboard
abstract suspend fun login(): Boolean

Login user.

withAuth
Link copied to clipboard
suspend fun <T> withAuth(block: suspend () -> T): T

Executes given block of code after successful authentication.