commonMain.com.lightspark.sdk.wallet.ClientConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wallet-sdk Show documentation
Show all versions of wallet-sdk Show documentation
The Lightspark Wallet SDK for Kotlin and Java.
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