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