Firebase.AppCheck.DebugAppCheckProviderFactory

Implementation of an IAppCheckProviderFactory that builds DebugAppCheckProviders.

Summary

DebugAppCheckProvider can exchange a debug token registered in the Firebase console for a Firebase App Check token. The debug provider is designed to enable testing applications on a simulator or test environment.

NOTE: Do not use the debug provider in applications used by real users.

Inheritance

Inherits from: Firebase.AppCheck.IAppCheckProviderFactory

Properties

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

Public functions

CreateProvider(FirebaseApp app)
Gets the IAppCheckProvider associated with the given FirebaseApp instance, or creates one if none already exists.
SetDebugToken(string token)
void
Sets the Debug Token to use when communicating with the backend.

Properties

Instance

static DebugAppCheckProviderFactory Instance

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

Public functions

CreateProvider

IAppCheckProvider CreateProvider(
  FirebaseApp app
)

Gets the IAppCheckProvider associated with the given FirebaseApp instance, or creates one if none already exists.

SetDebugToken

void SetDebugToken(
  string token
)

Sets the Debug Token to use when communicating with the backend.

This should match a debug token set in the Firebase console for your App.