Commit 701033d 1 parent 35a6174 commit 701033d Copy full SHA for 701033d
File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,8 @@ def verify_id_token(id_token, app=None):
91
91
dict: A dictionary of key-value pairs parsed from the decoded JWT.
92
92
93
93
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
95
95
initialized with a credentials.Certificate.
96
- AppIdenityError: The JWT was found to be invalid, the message will contain details.
97
96
"""
98
97
token_generator = _get_token_generator (app )
99
98
return token_generator .verify_id_token (id_token )
@@ -192,8 +191,8 @@ def verify_id_token(self, id_token):
192
191
dict: A dictionary of key-value pairs parsed from the decoded JWT.
193
192
194
193
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 .
197
196
"""
198
197
if not id_token :
199
198
raise ValueError ('Illegal ID token provided: {0}. ID token must be a non-empty '
You can’t perform that action at this time.
0 commit comments