firebase:: app_check:: AppCheckProvider
This is an abstract class.
#include <app_check.h>
Interface for a provider that generatesAppCheckTokens.
Summary
This provider can be called at any time by any Firebase library that depends (optionally or otherwise) onAppCheckTokens. 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 voidFetches anAppCheckToken and then calls the provided callback method with the token or with an error code and error message. |
Public functions
GetToken
virtualvoidGetToken(std::function<void(AppCheckToken,int,conststd::string&)>completion_callback)=0
Fetches anAppCheckToken and then calls the provided callback method with the token or with an error code and error message.
~AppCheckProvider
virtual~AppCheckProvider()=0
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-23 UTC.