commonMain.com.paoapps.fifi.auth.model.AuthModel.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fifi-auth-jvm Show documentation
Show all versions of fifi-auth-jvm Show documentation
Kotlin Multiplatform Mobile framework for optimal code sharing between iOS and Android.
The newest version!
package com.paoapps.fifi.auth.model
import com.paoapps.fifi.auth.api.AuthClientApi
import com.paoapps.fifi.auth.IdentifiableClaims
import com.paoapps.fifi.domain.auth.Tokens
import com.paoapps.fifi.model.Model
import com.paoapps.fifi.model.ModelEnvironment
import kotlinx.coroutines.flow.Flow
interface AuthModel, Environment: ModelEnvironment, UserId, Api: AuthClientApi> {
val model: Model
val userIdFlow: Flow
fun storeTokens(tokens: Tokens)
}