Skip to content

Commit 701033d

Browse files
authored
Updated API documentation; Fixing #29 (#40)
1 parent 35a6174 commit 701033d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

firebase_admin/auth.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ def verify_id_token(id_token, app=None):
9191
dict: A dictionary of key-value pairs parsed from the decoded JWT.
9292
9393
Raises:
94-
ValueError: If the input parameters are invalid, or if the App was not
94+
ValueError: If the JWT was found to be invalid, or if the App was not
9595
initialized with a credentials.Certificate.
96-
AppIdenityError: The JWT was found to be invalid, the message will contain details.
9796
"""
9897
token_generator = _get_token_generator(app)
9998
return token_generator.verify_id_token(id_token)
@@ -192,8 +191,8 @@ def verify_id_token(self, id_token):
192191
dict: A dictionary of key-value pairs parsed from the decoded JWT.
193192
194193
Raises:
195-
ValueError: The app was not initialized with a credentials.Certificate instance.
196-
AppIdenityError: The JWT was found to be invalid, the message will contain details.
194+
ValueError: The JWT was found to be invalid, or the app was not initialized with a
195+
credentials.Certificate instance.
197196
"""
198197
if not id_token:
199198
raise ValueError('Illegal ID token provided: {0}. ID token must be a non-empty '

0 commit comments

Comments
 (0)