Companion
object Companion
Factories for environment and trusted-direct configuration.
Functions
Link copied to clipboard
fun fromEnv(env: Map<String, String> = System.getenv(), transport: VmodalTransport? = null, signedUploads: SignedUploadTransport? = null, resolveIdentity: Boolean = true): Client
Builds a client from environment configuration and optionally resolves identity.
Link copied to clipboard
fun unsafeDirect(baseUrl: String, userId: String, tenantId: String = "", email: String = "", timeoutMillis: Int, maxRetries: Int = 1, transport: VmodalTransport? = null, signedUploads: SignedUploadTransport? = null): Client
Trusted-network escape hatch. Never use caller identity as an Internet trust boundary.