Actions
AuthDocument¶
authDocument(
param: BaseRequest
): AccountResponse
BaseRequest
field | type | description | note |
---|---|---|---|
did | String | 사용자 did | |
command | String |
AccountResponse
field | type | description | note |
---|---|---|---|
id | String | 사용자 did | |
context | String | ||
created | String | ||
updated | String | ||
command | String | ||
authentication | String[] | ||
verificationMethod | List<VerificationMethod> |
VerificationMethod
field | type | description | note |
---|---|---|---|
id | String | 사용자 did | |
type | String | ||
controller | String | ||
publicKeyBase58 | String |
Request Example
query {
authDocument (param: {
did: "G5rw9qAMbozGxySHkMaztD"
command: "authDocument"
}) {
created
updated
verificationMethod {
id
publicKeyBase58
}
}
}
Response Example
{
"data": {
"authDocument": {
"context": null,
"created": "2021-12-21 16:38:39",
"updated": "2021-12-21 19:26:43",
"verificationMethod": [
{
"id": "G5rw9qAMbozGxySHkMaztD",
"publicKeyBase58": "9Dq5ZBptrf7Kgxe3K2Xw3aFwHSdoStiUrs98QPRgbrbt"
}
]
}
}
}
이름없음이(가) 3년 이상 전에 변경 · 2 revisions