CheckAuthForB2B » 이력 » 버전 6
이름없음, 2021/06/10 01:22
| 1 | 5 | 이름없음 | h1. CheckAuthForB2B |
|---|---|---|---|
| 2 | 2 | 이름없음 | |
| 3 | 6 | 이름없음 | 요청한 did가 snplab 또는 기업의 did인지 확인합니다. |
| 4 | |||
| 5 | 2 | 이름없음 | h2. %{color: #000000;}요청 필드% |
| 6 | |||
| 7 | <pre><code class="c"> |
||
| 8 | checkAuthForB2B( |
||
| 9 | 3 | 이름없음 | did: String |
| 10 | 2 | 이름없음 | ): CommandResponse |
| 11 | 1 | 이름없음 | </code></pre> |
| 12 | 3 | 이름없음 | |
| 13 | 4 | 이름없음 | *did* |
| 14 | 3 | 이름없음 | |
| 15 | | field | type | description | |
||
| 16 | | did | String | snplab 또는 b2b의 did | |
||
| 17 | 2 | 이름없음 | |
| 18 | *%{color: #000000;}CommandResponse%* |
||
| 19 | |||
| 20 | | %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | |
||
| 21 | 4 | 이름없음 | | %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청 Command 유형 (값: "authCheck")% | |
| 22 | 2 | 이름없음 | |
| 23 | *%{color: #000000;}요청 예시%* |
||
| 24 | |||
| 25 | <pre> |
||
| 26 | query{ |
||
| 27 | checkAuthForB2B(did:"G5rw9qAMbozGxySHkMaztD"){ |
||
| 28 | command |
||
| 29 | } |
||
| 30 | }</pre> |
||
| 31 | |||
| 32 | *%{color: #000000;}응답 예시%* |
||
| 33 | |||
| 34 | <pre> |
||
| 35 | { |
||
| 36 | "data": { |
||
| 37 | "checkAuthForB2B": { |
||
| 38 | "command": "authCheck" |
||
| 39 | } |
||
| 40 | } |
||
| 41 | }</pre> |