Package-level declarations

Types

Link copied to clipboard
abstract class AppBase(val auth: Auth, val logger: SystemLogger, val debugMode: Boolean, val configuration: ServerConfiguration, val shutdownHook: () -> Unit = {}) : Closeable
Link copied to clipboard
class Auth(logger: SystemLogger, databaseRoot: Path, autoRepair: Boolean = false, iterations: Int, keyLength: Int = 256, algorithm: String = "PBKDF2WithHmacSHA256")
Link copied to clipboard
abstract class HashBase(pepper: String? = null)
Link copied to clipboard
open class HTTPClient(val server: String, val timeout: Long = 5)

HTTP(S) client implementation.

Link copied to clipboard
open class OidcConfigFactory(clientId: String, secret: String, discoveryURI: String, systemLogger: SystemLogger, iss: String, callback: String, requireEmail: Boolean = true, requireConsent: Boolean = false, oidcConfiguration: <Error class: unknown class> = OidcConfiguration() .withClientId(clientId) .withSecret(secret) .withDiscoveryURI(discoveryURI) .withUseNonce(true) .withCustomParams(if (requireConsent) mapOf("prompt" to "consent") else mapOf()))
Link copied to clipboard
open class ProxyClient(val server: String, val timeout: Long = 5, dropCount: Int, val hopByHopHeaders: Set<String> = setOf( "connection", "keep-alive", "proxy-authenticate", "proxy-authorization", "te", "trailers", "transfer-encoding", "upgrade", "content-length", //"content-encoding" ), val debugMode: Boolean = false) : HTTPClient
Link copied to clipboard
interface SystemLogger

Functions

Link copied to clipboard
fun testPort(port: Int): Int?
Link copied to clipboard
fun validatePort(port: Int): Int?