Verifies a Firebase App Check token (JWT). If the token is valid, the promise is fulfilled with the token's decoded claims; otherwise, the promise is rejected.
AppCheck.app
Signature:
readonlyapp:App;
AppCheck.createToken()
Creates a new AppCheckToken that can be sent back to a client.
Verifies a Firebase App Check token (JWT). If the token is valid, the promise is fulfilled with the token's decoded claims; otherwise, the promise is rejected.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-05-09 UTC."],[],[],null,["The Firebase `AppCheck` service interface.\n\n**Signature:** \n\n export declare class AppCheck \n\nProperties\n\nMethods\n\nAppCheck.app\n\n**Signature:** \n\n readonly app: App;\n\nAppCheck.createToken()\n\nCreates a new [AppCheckToken](./firebase-admin.app-check.appchecktoken.md#appchecktoken_interface) that can be sent back to a client.\n\n**Signature:** \n\n createToken(appId: string, options?: AppCheckTokenOptions): Promise\u003cAppCheckToken\u003e;\n\nParameters\n\n**Returns:**\n\nPromise\\\u003c[AppCheckToken](./firebase-admin.app-check.appchecktoken.md#appchecktoken_interface)\\\u003e\n\nA promise that fulfills with a `AppCheckToken`.\n\nAppCheck.verifyToken()\n\nVerifies a Firebase App Check token (JWT). If the token is valid, the promise is fulfilled with the token's decoded claims; otherwise, the promise is rejected.\n\n**Signature:** \n\n verifyToken(appCheckToken: string, options?: VerifyAppCheckTokenOptions): Promise\u003cVerifyAppCheckTokenResponse\u003e;\n\nParameters\n\n**Returns:**\n\nPromise\\\u003c[VerifyAppCheckTokenResponse](./firebase-admin.app-check.verifyappchecktokenresponse.md#verifyappchecktokenresponse_interface)\\\u003e\n\nA promise fulfilled with the token's decoded claims if the App Check token is valid; otherwise, a rejected promise."]]