Send feedback
firebase_admin.app_check module
Stay organized with collections
Save and categorize content based on your preferences.
Firebase App Check module.
Functions
verify_token firebase_admin.app_check. verify_token ( token : str , app = None , consume : bool = False ) → Dict[ str, Any]
Verifies a Firebase App Check token, optionally consuming limited-use tokens.
Parameters:
token – A token from App Check.
app – An App instance (optional).
consume – Set to True only if the token is a limited-use (one-time) token
that should be consumed upon verification (optional, defaults to False ).
Returns:
The token’s decoded claims. If consume is True , the dictionary also includes an already_consumed boolean key indicating whether the token was
previously consumed.
Return type:
Dict[str, Any]
Raises:
ValueError – If consume is not a boolean, or if the app’s project_id
is invalid or unspecified, or if the token’s headers or payload are invalid.
FirebaseError – If an error occurs while communicating with the App Check service.
PyJWKClientError – If PyJWKClient fails to fetch a valid signing key.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-09-17 UTC.
Need to tell us more?
[[["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 2026-09-17 UTC."],[],[]]