All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.lightspark.sdk.wallet.ClientConfig.kt Maven / Gradle / Ivy

The newest version!
package com.lightspark.sdk.wallet

import com.lightspark.sdk.core.auth.AuthProvider
import kotlin.jvm.JvmName
import kotlin.jvm.JvmOverloads

data class ClientConfig @JvmOverloads constructor(
    @set:JvmName("\$setServerUrl")
    var serverUrl: String = "api.lightspark.com",
    @set:JvmName("\$setAuthProvider")
    var authProvider: AuthProvider? = null,
) {
    fun setServerUrl(serverUrl: String) = apply { this.serverUrl = serverUrl }
    fun setAuthProvider(authProvider: AuthProvider) = apply { this.authProvider = authProvider }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy