@firebase/app-check-types
Advanced tools
Comparing version 0.2.0-canary.bd50d8310 to 0.2.0-canary.c493d9232
@@ -20,2 +20,3 @@ /** | ||
import { FirebaseApp } from '@firebase/app-types'; | ||
import { Provider } from '@firebase/component'; | ||
@@ -94,2 +95,25 @@ export interface FirebaseAppCheck { | ||
export class ReCaptchaV3Provider { | ||
/** | ||
* @param siteKey - ReCAPTCHA v3 site key (public key). | ||
*/ | ||
constructor(siteKey: string); | ||
} | ||
/* | ||
* Custom token provider. | ||
*/ | ||
export class CustomProvider { | ||
/** | ||
* @param options - Options for creating the custom provider. | ||
*/ | ||
constructor(options: CustomProviderOptions); | ||
} | ||
interface CustomProviderOptions { | ||
/** | ||
* Function to get an App Check token through a custom provider | ||
* service. | ||
*/ | ||
getToken: () => Promise<AppCheckToken>; | ||
} | ||
/** | ||
@@ -96,0 +120,0 @@ * The token returned from an `AppCheckProvider`. |
{ | ||
"name": "@firebase/app-check-types", | ||
"version": "0.2.0-canary.bd50d8310", | ||
"version": "0.2.0-canary.c493d9232", | ||
"description": "@firebase/app-check Types", | ||
@@ -5,0 +5,0 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6152
134