AuthRegister » 이력 » 버전 3
이름없음, 2021/12/21 07:14
| 1 | 1 | 이름없음 | h1. AuthRegister |
|---|---|---|---|
| 2 | 2 | 이름없음 | |
| 3 | <pre><code class="java"> |
||
| 4 | authRegister( |
||
| 5 | param: AccountRegisterRequest |
||
| 6 | ): AccountRegisterResponse |
||
| 7 | </code></pre> |
||
| 8 | |||
| 9 | 3 | 이름없음 | *AccountRegisterRequest* |
| 10 | 2 | 이름없음 | |
| 11 | |_. field |_. type |_. description |_. note | |
||
| 12 | | id | String | 사용자 did | | |
||
| 13 | | context | String | | | |
||
| 14 | | authentication | String[] | | | |
||
| 15 | | verificationMethod | List<VerificationMethod> | | | |
||
| 16 | |||
| 17 | *VerificationMethod* |
||
| 18 | |||
| 19 | |_. field |_. type |_. description |_. note | |
||
| 20 | | id | String | 사용자 did | | |
||
| 21 | | type | String | | | |
||
| 22 | | controller | String | | | |
||
| 23 | | publicKeyBase58 | String | | | |
||
| 24 | |||
| 25 | *AccountRegisterResponse* |
||
| 26 | |||
| 27 | |_. field |_. type |_. description |_. note | |
||
| 28 | | id | String | 사용자 did | | |
||
| 29 | | context | String | | | |
||
| 30 | | authentication | String[] | | | |
||
| 31 | | verificationMethod | List<VerificationMethod> | | | |
||
| 32 | | created | String | | | |
||
| 33 | | updated | String | | | |
||
| 34 | | command | String | | | |
||
| 35 | |||
| 36 | --- |
||
| 37 | |||
| 38 | *Request Example* |
||
| 39 | |||
| 40 | <pre><code class="java"> |
||
| 41 | query { |
||
| 42 | authRegister(param: { |
||
| 43 | 3 | 이름없음 | id: "G1rw9qAMbozGxySHkMaztD" |
| 44 | context: "https://www.w3.org/ns/did/v1" |
||
| 45 | 2 | 이름없음 | authentication: [ |
| 46 | 3 | 이름없음 | "G1rw9qAMbozGxySHkMaztD" |
| 47 | 2 | 이름없음 | ] |
| 48 | verificationMethod: [ |
||
| 49 | { |
||
| 50 | 3 | 이름없음 | id: "G1rw9qAMbozGxySHkMaztD" |
| 51 | type: "Ed25519VerificationKey2018" |
||
| 52 | controller: "G1rw9qAMbozGxySHkMaztD" |
||
| 53 | publicKeyBase58: "9Dq5ZBptrf7Kgxe3K2Xw3aFwHSdoStiUrs98QPRgbrbt" |
||
| 54 | 2 | 이름없음 | } |
| 55 | ] |
||
| 56 | }) { |
||
| 57 | created |
||
| 58 | verificationMethod { |
||
| 59 | id |
||
| 60 | } |
||
| 61 | } |
||
| 62 | } |
||
| 63 | </code></pre> |
||
| 64 | |||
| 65 | *Response Example* |
||
| 66 | |||
| 67 | <pre><code class="java"> |
||
| 68 | TO BE |
||
| 69 | </code></pre> |