File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 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):
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 '
You can’t perform that action at this time.
0 commit comments