登录认证
POST /api/v1/auth
说明: 通过"addressAuthToken" 换取 “unifiedAuthToken",unifiedAuthToken的有效期为7天。
Header
Field | Type | Remarks |
---|---|---|
ApiKey | String | 从管理员获取的ApiKey |
I-Authorization | String | Bearer ${addressAuthToken},其中addressAuthToken通过JS-SDK请求签名认证获取 |
Request Parameters
Field | Type | Remarks |
---|---|---|
inviteCode | String | 邀请码或邀请人的relationId |
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
code | String | 返回码 |
desc | String | 返回信息 |
data | T | 数据 |
The Data field consists of the following subfields:
Field | Type | Remarks |
---|---|---|
token | String | unifiedAuthToken, 其他接口的Authorization= Bearer ${unifiedAuthToken} |
Response Example
Return Code
code | desc | Remarks |
---|---|---|
0 | success | 接口调用成功 |
Last updated