commonMain.com.plusmobileapps.firebase.auth.model.FirebaseUserEntity.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.model
import kotlinx.serialization.Serializable
/**
* @property idToken A Firebase Auth ID token for the authenticated user.
* @property email The email for the authenticated user.
* @property refreshToken A Firebase Auth refresh token for the authenticated user.
* @property expiresAt instant the idToken expires which is one hour after it was issued
* @property localId The uid of the authenticated user.
*/
@Serializable
internal data class FirebaseUserEntity(
val idToken: String,
val email: String,
val refreshToken: String,
val expiresAt: String,
val localId: String,
val displayName: String? = null,
val photoUrl: String? = null
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy