def _verify_parsed_token(parsed_token, issuers, audiences, allowed_client_ids, is_legacy_google_auth=True):
<EOL>if parsed_token.get('<STR_LIT>') not in issuers:<EOL><INDENT>_logger.warning('<STR_LIT>', parsed_token.get('<STR_LIT>'))<EOL>return False<EOL><DEDENT>aud = parsed_token.get('<STR_LIT>')<EOL>if not aud:<EOL><INDENT>_logger.warning('<STR_LIT>')<EOL>return False<EOL><DEDENT>cid = parsed_token.get('<STR_LIT>')<EOL>audience_allowed = (aud in audiences) or (is_legacy_google_auth and aud == cid)<EOL>if not audience_allowed:<EOL><INDENT>_logger.warning('<STR_LIT>', aud)<EOL>return False<EOL><DEDENT>if is_legacy_google_auth:<EOL><INDENT>if list(allowed_client_ids) == SKIP_CLIENT_ID_CHECK:<EOL><INDENT>_logger.warning('<STR_LIT>'<EOL>'<STR_LIT>')<EOL>return False<EOL><DEDENT>elif not cid or cid not in allowed_client_ids:<EOL><INDENT>_logger.warning('<STR_LIT>', cid)<EOL>return False<EOL><DEDENT><DEDENT>if '<STR_LIT:email>' not in parsed_token:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Verify a parsed user ID token.

    Args:
      parsed_token: The parsed token information.
      issuers: A list of allowed issuers
      audiences: The allowed audiences.
      allowed_client_ids: The allowed client IDs.

    Returns:
      True if the token is verified, False otherwise.