commonMain.com.plusmobileapps.firebase.auth.AuthState.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of auth-jvm Show documentation
Show all versions of auth-jvm Show documentation
A kotlin multiplatform mobile library for authenticating with Firebase for Android, iOS, and JVM
The newest version!
package com.plusmobileapps.firebase.auth
import com.plusmobileapps.firebase.auth.model.FirebaseUser
sealed class AuthState {
val isAuthenticated: Boolean
get() = this is Authenticated
data class Authenticated(
val firebaseUser: FirebaseUser,
val idToken: String,
val expiresAt: String,
) : AuthState()
object Unauthenticated : AuthState()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy