firebase::app_check::AppCheckProvider

This is an abstract class.

#include <app_check.h>

Interface for a provider that generates AppCheckTokens.

Summary

This provider can be called at any time by any Firebase library that depends (optionally or otherwise) on AppCheckTokens. This provider is responsible for determining if it can create a new token at the time of the call and returning that new token if it can.

Constructors and Destructors

~AppCheckProvider()

Public functions

GetToken(std::function< void(AppCheckToken, int, const std::string &)> completion_callback)=0
virtual void
Fetches an AppCheckToken and then calls the provided callback method with the token or with an error code and error message.

Public functions

GetToken

virtual void GetToken(
  std::function< void(AppCheckToken, int, const std::string &)> completion_callback
)=0

Fetches an AppCheckToken and then calls the provided callback method with the token or with an error code and error message.

~AppCheckProvider

virtual  ~AppCheckProvider()=0