Skip to content

Commit f500ef4

Browse files
committed
Document ValueError when consume is not a boolean in verify_token docstring
1 parent d43471f commit f500ef4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎firebase_admin/app_check.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def verify_token(token: str, app=None, consume: bool = False) -> Dict[str, Any]:
4141
previously consumed.
4242
4343
Raises:
44-
ValueError: If the app's ``project_id`` is invalid or unspecified,
45-
or if the token's headers or payload are invalid.
44+
ValueError: If ``consume`` is not a boolean, or if the app's ``project_id``
45+
is invalid or unspecified, or if the token's headers or payload are invalid.
4646
FirebaseError: If an error occurs while communicating with the App Check service.
4747
PyJWKClientError: If PyJWKClient fails to fetch a valid signing key.
4848
"""

0 commit comments

Comments
 (0)