Actions
AuthRegister » 이력 » 개정판 4
« 뒤로 |
개정판 4/5
(비교(diff))
| 다음 »
이름없음, 2021/12/21 07:39
AuthRegister¶
authRegister(
param: AccountRegisterRequest
): AccountRegisterResponse
AccountRegisterRequest
| field | type | description | note |
|---|---|---|---|
| id | String | 사용자 did | |
| context | String | ||
| authentication | String[] | ||
| verificationMethod | List<VerificationMethod> |
VerificationMethod
| field | type | description | note |
|---|---|---|---|
| id | String | 사용자 did | |
| type | String | ||
| controller | String | ||
| publicKeyBase58 | String |
AccountRegisterResponse
| field | type | description | note |
|---|---|---|---|
| id | String | 사용자 did | |
| context | String | ||
| authentication | String[] | ||
| verificationMethod | List<VerificationMethod> | ||
| created | String | ||
| updated | String | ||
| command | String |
Request Example
query {
authRegister(param: {
id: "G5rw9qAMbozGxySHkMaztD"
context: "https://www.w3.org/ns/did/v1"
authentication: [
"G5rw9qAMbozGxySHkMaztD"
]
verificationMethod: [
{
id: "G5rw9qAMbozGxySHkMaztD"
type: "Ed25519VerificationKey2018"
controller: "G5rw9qAMbozGxySHkMaztD"
publicKeyBase58: "9Dq5ZBptrf7Kgxe3K2Xw3aFwHSdoStiUrs98QPRgbrbt"
}
]
}) {
created
verificationMethod {
id
}
}
}
Response Example
{
"data": {
"authRegister": {
"created": "2021-12-21 16:38:38",
"verificationMethod": [
{
"id": "G5rw9qAMbozGxySHkMaztD"
}
]
}
}
}
이름없음이(가) 약 4년 전에 변경 · 4 revisions