프로젝트

일반

사용자정보

AuthRegister » 이력 » 개정판 2

개정판 1 (이름없음, 2021/12/21 06:54) → 개정판 2/5 (이름없음, 2021/12/21 07:14)

h1. AuthRegister 

 <pre><code class="java"> 
 authRegister( 
 param: AccountRegisterRequest 
 ): AccountRegisterResponse 
 </code></pre> 

 ---*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* 

 <pre><code class="java"> 
 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 
     } 
   } 
 } 
 </code></pre> 

 *Response Example* 

 <pre><code class="java"> 
 TO BE 
 </code></pre>
클립보드 이미지 추가 (최대 크기: 97.7 MB)