A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.
open class CallAgent
An agent responsible for remote calls. |
|
data class Credentials
Username and password credentials. |
|
open class KVController |
|
open class KVRemoteAgent<T : Any> : RemoteAgent
Client side agent for JSON-RPC remote calls. |
|
open actual class KVServer
A server. Not used on the js platform. |
|
open actual class KVServiceManager<T : Any>
Multiplatform service manager. |
|
class LoginService
Pac4j form login dispatcher. |
|
data actual class Profile
A user profile. |
|
interface RemoteAgent
Interface for client side agent for JSON-RPC remote calls. |
|
actual interface Request
A server request. Not used on the js platform. |
|
abstract class SecurityMgr
Pac4j form login dispatcher. |
|
class SpringContext |
class SecurityException : Exception
A security exception. |
actual typealias Profile = <ERROR CLASS>
A user profile. |
const val HTTP_UNAUTHORIZED: Int
HTTP status unauthorized (401). |
fun <ERROR CLASS>.addPathPatternsFromServices(services: List<KVServiceManager<*>>): Unit |
|
fun <RESP> Request.withProfile(block: (Profile) -> RESP): RESP fun <RESP> withProfile(block: (Profile) -> RESP): RESP
A helper extension function for processing with authenticated user profile. |
|
fun <ERROR CLASS>.writeJSON(json: String): Unit |