kvision / pl.treksoft.kvision.remote / LoginService

LoginService

class LoginService

Form login dispatcher.

Constructors

<init>

LoginService(loginEndpoint: String)

Form login dispatcher.

Properties

loginAgent

val loginAgent: CallAgent

loginEndpoint

val loginEndpoint: String

Functions

login

suspend fun login(credentials: Credentials?): Boolean

Login with a form.

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.