Node Http
constructor(httpClient: HttpClient, trustHost: TrustHost, bearerTokenProvider: () -> String?)(source)
Parameters
http Client
Pre-configured Ktor client. The caller is responsible for installing engines, content-negotiation, plugins, and trust setup.
trust Host
Trust-store callback used to evict and re-fetch a peer cert when an outbound call fails with an SSL error.
bearer Token Provider
Supplies the current bearer token (PIN-derived per krill.zone.shared.security.PinDerivation.deriveBearerToken) on each request. null skips the Authorization header entirely, which is what unauthenticated FTUE traffic should do.