kvision / pl.treksoft.kvision.remote

Package pl.treksoft.kvision.remote

A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.

Types

CallAgent

open class CallAgent

An agent responsible for remote calls.

Credentials

data class Credentials

Username and password credentials.

JoobyServer

open actual class JoobyServer

A Jooby based server. Not used on the js platform.

LoginService

class LoginService

Pac4j form login dispatcher.

Profile

data actual class Profile

A user profile.

RemoteAgent

open class RemoteAgent<out T>

Client side agent for JSON-RPC remote calls.

Request

actual interface Request

A server request. Not used on the js platform.

SecurityMgr

abstract class SecurityMgr

Pac4j form login dispatcher.

ServiceManager

open actual class ServiceManager<out T>

Multiplatform service manager.

Exceptions

SecurityException

class SecurityException : Exception

A security exception.

Properties

HTTP_UNAUTHORIZED

const val HTTP_UNAUTHORIZED: Int

HTTP status unauthorized (401).