DebugAppCheckProviderFactory

public class DebugAppCheckProviderFactory implements AppCheckProviderFactory


Implementation of an AppCheckProviderFactory that builds DebugAppCheckProviders.

Summary

Constants

static final DebugAppCheckProviderFactory

Public methods

@NonNull AppCheckProvider
create(@NonNull FirebaseApp firebaseApp)
static @NonNull DebugAppCheckProviderFactory

Gets an instance of this class for installation into a FirebaseAppCheck instance.

Constants

instance

public static final DebugAppCheckProviderFactory instance

Public methods

create

public @NonNull AppCheckProvider create(@NonNull FirebaseApp firebaseApp)

getInstance

public static @NonNull DebugAppCheckProviderFactory getInstance()

Gets an instance of this class for installation into a FirebaseAppCheck instance. If no debug secret is found in android.content.SharedPreferences, a new debug secret will be generated and printed to the logcat. The debug secret should then be added to the allow list in the Firebase Console.