firebase::
    #include <debug_provider.h>
  
Implementation of an AppCheckProviderFactory 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::app_check::AppCheckProviderFactory| Public static functions | |
|---|---|
| GetInstance() | Gets an instance of this class for installation into a firebase::app_check::AppCheck instance.  | 
| Public functions | |
|---|---|
| CreateProvider(App *app) override | virtual firebase::app_check::AppCheckProvider *Gets the AppCheckProvider associated with the given App instance, or creates one if none already exists.  | 
| SetDebugToken(const std::string & token) | voidSets the Debug Token to use when communicating with the backend.  | 
Public static functions
GetInstance
DebugAppCheckProviderFactory * GetInstance()
Gets an instance of this class for installation into a firebase::app_check::AppCheck instance.
Public functions
CreateProvider
virtual firebase::app_check::AppCheckProvider * CreateProvider( App *app ) override
Gets the AppCheckProvider associated with the given App instance, or creates one if none already exists.
SetDebugToken
void SetDebugToken( const std::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.