11.4.4 Identity Hub

11.4.4.1 Register Hub


Function name registerHub(String did, String publicKey)
Description Register by DID and Public key, if successful, returns the user's ID in the Hub.
Method call parameters
No. Parameter Type Required Description
1 did String Y DID
2 publicKey String Y Public key
Method return parameters
No. Parameter Type Required Description
1 RegisterHubResult Y Registration result
RegisterHubResult
No. Parameter Type Required Description
1 success Boolean Y Whether it is successful
2 did String Y DID
3 message String Y Message
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-10-31 17:56:03

results matching ""

    No results matching ""

    results matching ""

      No results matching ""