11.4.4.3 Get Resource


Function name getResource(String did,String privateKey, String url)
Description Access the Hub and read the specified credentials. Users have direct access, third parties need to obtain authorization from the user to access.
Method call parameters
No. Parameter Type Required Description
1 did String Y DID
2 privateKey String Y Private key
3 url String Y Resource Url
Method return parameters
No. Parameter Type Required Description
1 QueryResourceResp Y Query result
QueryResourceResp
No. Parameter Type Required Description
1 content String Y Resource content
2 key String Y Encryption key
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-10-31 18:12:26

results matching ""

    No results matching ""

    results matching ""

      No results matching ""