14.4.4.4 获取资源

方法名 getResource(String did,String privateKey, String url)
方法描述 访问Hub并读取指定资源。用户可直接访问,第三方需获得用户的授权后才可访问。
方法调用参数
序号 参数 类型 必传 参数含义
1 uid String Hub内的ID
2 privateKey String 私钥
3 url String 资源存储的路径
方法返回参数
序号 参数 类型 必传 参数含义
1 QueryResourceResp 获取结果
QueryResourceResp
1 content String 密文资源内容
2 key String 密文密钥
Copyright 北京红枣科技有限公司

results matching ""

    No results matching ""

    results matching ""

      No results matching ""