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.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-appcheck-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

component1

operator fun AppCheckToken.component1(): String

Destructuring declaration for AppCheckToken to provide token.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-appcheck-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. 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.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-appcheck-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. 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.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-appcheck-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.