10.4.4 Identity Hub
11.4.4.1 Register Hub User by DID
Function name | registerHub(String did) | |||
Description | Register by DID, if successful, returns the user's ID in the Hub. | |||
Request Parameters | ||||
No. | Parameter | Type | Required | Description |
---|---|---|---|---|
1 | did | String | Y | DID |
Response Parameters | ||||
No. | Parameter | Type | Required | Description |
1 | RegisterHubResult | Y | Registration result | |
RegisterHubResult | ||||
No. | Parameter | Type | Required | Description |
1 | success | Boolean | Y | Return true if success, return false if failure |
2 | uid | String | Y | ID in the Hub |
3 | message | String | Y | Result description |