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