firebase_admin.app_check module
Stay organized with collections
Save and categorize content based on your preferences.
Firebase App Check module.
Functions
verify_tokenfirebase_admin.app_check.verify_token(token: str, app=None) → Dict[str, Any] |
---|
Verifies a Firebase App Check token.
- Parameters:
-
- Returns:
The token’s decoded claims.
- Return type:
Dict[str, Any]
- Raises:
ValueError – If the app’s project_id is invalid or unspecified,
or if the token's headers or payload are invalid. –
PyJWKClientError – If PyJWKClient fails to fetch a valid signing key.
|
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 2023-12-05 UTC.
[null,null,["Last updated 2023-12-05 UTC."],[],[],null,["# firebase_admin.app_check module\n\nFirebase App Check module.\n\nFunctions\n---------\n\n| ### verify_token firebase_admin.app_check.verify_token(*token: str* , *app=None* ) → Dict\\[str, Any\\] |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Verifies a Firebase App Check token. Parameters: : - **token** -- A token from App Check. - **app** -- An App instance (optional). Returns: : The token's decoded claims. Return type: : Dict\\[str, Any\\] Raises: : - **ValueError** -- If the app's project_id is invalid or unspecified, - **or if the token's headers** **or** **payload are invalid.** -- - **PyJWKClientError** -- If PyJWKClient fails to fetch a valid signing key. |"]]