Actions
AuthRegister » 이력 » 개정판 2
« 뒤로 |
개정판 2/5
(비교(diff))
| 다음 »
이름없음, 2021/12/21 07:14
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: "G1rw9qAMbozGxySHkMaztD"
context: "https://www.w3.org/ns/did/v1"
authentication: [
"G1rw9qAMbozGxySHkMaztD"
]
verificationMethod: [
{
id: "G1rw9qAMbozGxySHkMaztD"
type: "Ed25519VerificationKey2018"
controller: "G1rw9qAMbozGxySHkMaztD"
publicKeyBase58: "9Dq5ZBptrf7Kgxe3K2Xw3aFwHSdoStiUrs98QPRgbrbt"
}
]
}) {
created
verificationMethod {
id
}
}
}
Response Example
TO BE
이름없음이(가) 약 4년 전에 변경 · 2 revisions