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.

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.

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.

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.

FirebaseAppCheckKt.component1

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

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
@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.

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