CoreLogic

expect class CoreLogic : CoreLogicCommon
actual class CoreLogic(rootPath: String, kaliumConfigs: KaliumConfigs, userAgent: String, useInMemoryStorage: Boolean = false) : CoreLogicCommon

Samples

samples.logic.CoreLogicSamples.versionedAuthScope

Constructors

Link copied to clipboard
constructor(rootPath: String, kaliumConfigs: KaliumConfigs, userAgent: String, useInMemoryStorage: Boolean = false)

Properties

Link copied to clipboard
abstract val networkStateObserver: <Error class: unknown class>
open override val networkStateObserver: <Error class: unknown class>

Functions

Link copied to clipboard
inline fun <T> authenticationScope(serverConfig: ServerConfig, proxyCredentials: ProxyCredentials?, action: AuthenticationScope.() -> T): T
inline fun <T> authenticationScope(serverConfig: ServerConfig, proxyCredentials: ProxyCredentials?, action: AuthenticationScope.() -> T): T
Link copied to clipboard
abstract suspend fun deleteSessionScope(userId: <Error class: unknown class>)
open suspend override fun deleteSessionScope(userId: <Error class: unknown class>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getSessionScope(userId: <Error class: unknown class>): UserSessionScope
open override fun getSessionScope(userId: <Error class: unknown class>): UserSessionScope
Link copied to clipboard
inline fun <T> globalScope(action: GlobalKaliumScope.() -> T): T
inline fun <T> globalScope(action: GlobalKaliumScope.() -> T): T
Link copied to clipboard
inline fun <T> sessionScope(userId: <Error class: unknown class>, action: UserSessionScope.() -> T): T
inline fun <T> sessionScope(userId: <Error class: unknown class>, action: UserSessionScope.() -> T): T