Jump to top

ReactNativeFirebaseAppCheckProvider

interface

Methods

configure

</>

Specify how the app check provider should be configured. The new configuration is in effect when this call returns. You must call getToken() after this call to get a token using the new configuration. This custom provider allows for delayed configuration and re-configuration on all platforms so AppCheck has the same experience across all platforms, with the only difference being the native providers you choose to use on each platform.

configure(web?: ReactNativeFirebaseAppCheckProviderWebOptions, android?: ReactNativeFirebaseAppCheckProviderAndroidOptions, apple?: ReactNativeFirebaseAppCheckProviderAppleOptions, isTokenAutoRefreshEnabled?: undefined | false | true): Promise<void>;

getToken

</>

Returns an AppCheck token.

getToken(): Promise<AppCheckToken>;