AuthenticatedNetworkClient

internal class AuthenticatedNetworkClient(engine: <Error class: unknown class>, serverConfigDTO: <Error class: unknown class>, bearerAuthProvider: <Error class: unknown class>, kaliumLogger: <Error class: unknown class>, installCompression: Boolean = true)

Provides a HttpClient that has all the needed configurations to talk with a Wire backend, like Serialization, and Content Negotiation. It's Authenticated, and will use the provided SessionManager to fill necessary Authentication headers, and refresh tokens as they expire.

Constructors

Link copied to clipboard
constructor(engine: <Error class: unknown class>, serverConfigDTO: <Error class: unknown class>, bearerAuthProvider: <Error class: unknown class>, kaliumLogger: <Error class: unknown class>, installCompression: Boolean = true)

Properties

Link copied to clipboard
val httpClient: <Error class: unknown class>