commonMain.com.supertokens.sdk.recipes.thirdparty.Provider.kt Maven / Gradle / Ivy
The newest version!
package com.supertokens.sdk.recipes.thirdparty
import com.supertokens.sdk.SuperTokensClient
open class ProviderConfig {
var redirectUri: String? = null
}
abstract class Provider(
val id: String,
val config: C,
)
typealias BuildProvider = (SuperTokensClient, ThirdPartyRecipe) -> Provider<*>
abstract class ProviderBuilder> {
abstract fun install(configure: C.() -> Unit): (SuperTokensClient, ThirdPartyRecipe) -> R
}