ModelixAuthClient
Functions and states for authenticating to a model server. Configuration differs for JS and JVM.
Functions
Link copied to clipboard
expect fun installAuth(config: HttpClientConfig<*>, baseUrl: String, authTokenProvider: suspend () -> String?? = null)
Function to configure the authentication for an HTTP client.
actual fun installAuth(config: HttpClientConfig<*>, baseUrl: String, authTokenProvider: suspend () -> String??)
actual fun installAuth(config: HttpClientConfig<*>, baseUrl: String, authTokenProvider: suspend () -> String??)