FirebaseAppCheckKt

public final class FirebaseAppCheckKt


Summary

Public fields

final @NonNull FirebaseAppCheck

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

Public methods

static final @NonNull FirebaseAppCheck

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

static final @NonNull String

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

static final long

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

Public fields

appCheck

public final @NonNull FirebaseAppCheck appCheck

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.

Public methods

FirebaseAppCheckKt.appCheck

public static final @NonNull FirebaseAppCheck FirebaseAppCheckKt.appCheck(
    @NonNull Firebase receiver,
    @NonNull FirebaseApp app
)

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.

FirebaseAppCheckKt.component1

public static final @NonNull String FirebaseAppCheckKt.component1(@NonNull AppCheckToken receiver)

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
@NonNull String

the token of the AppCheckToken

FirebaseAppCheckKt.component2

public static final long FirebaseAppCheckKt.component2(@NonNull AppCheckToken receiver)

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