com.google.firebase.appcheck.ktx

Extension functions summary

FirebaseAppCheck

Accessing this object for Kotlin apps has changed; see the migration guide.

operator String

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

operator Long

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

Extension properties summary

FirebaseAppCheck

Accessing this object for Kotlin apps has changed; see the migration guide.

Extension functions

appCheck

fun Firebase.appCheck(app: FirebaseApp): FirebaseAppCheck

Accessing this object for Kotlin apps has changed; see the migration guide.

Returns the FirebaseAppCheck instance of a given FirebaseApp.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.

component1

operator fun AppCheckToken.component1(): String

Destructuring declaration for AppCheckToken to provide token.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.

Returns
String

the token of the AppCheckToken

component2

operator fun AppCheckToken.component2(): Long

Destructuring declaration for AppCheckToken to provide expireTimeMillis.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.

Returns
Long

the expireTimeMillis of the AppCheckToken

Extension properties

appCheck

val Firebase.appCheckFirebaseAppCheck

Accessing this object for Kotlin apps has changed; see the migration guide.

Returns the FirebaseAppCheck instance of the default FirebaseApp.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.