Wiki source code of Authorization
Version 7.1 by Giorgi Mdivnishvili on 2023/12/14 07:47
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{box cssClass="floatinginfobox" title="**Contents**"}} |
| 2 | {{toc/}} | ||
| 3 | {{/box}} | ||
| 4 | |||
| 5 | = Method Description = | ||
| 6 | |||
| 7 | The initial method of the integration process is authorization. You will be provided with a test user username and password to generate the access token that you will need to pass in all the following methods. | ||
| 8 | |||
| |
6.1 | 9 | |
| |
1.1 | 10 | == Request URL - [GET] == |
| 11 | |||
| |
6.1 | 12 | (% class="box infomessage" %) |
| 13 | ((( | ||
| 14 | https:~/~/online-api.kazunion.com/api/Auth/Auth | ||
| 15 | ))) | ||
| |
1.1 | 16 | |
| |
6.1 | 17 | |
| |
1.1 | 18 | == Request Parameters == |
| 19 | |||
| |
6.1 | 20 | (% class="box" %) |
| 21 | ((( | ||
| |
1.1 | 22 | none |
| |
6.1 | 23 | ))) |
| |
1.1 | 24 | |
| |
6.1 | 25 | |
| |
1.1 | 26 | == Request Body == |
| 27 | |||
| 28 | {{code language="Json"}} | ||
| 29 | { | ||
| 30 | "login": "string", | ||
| 31 | "password": "string" | ||
| 32 | } | ||
| 33 | {{/code}} | ||
| 34 | |||
| |
6.1 | 35 | == == |
| 36 | |||
| |
7.1 | 37 | (% class="wikigeneratedid" %) |
| 38 | |||
| 39 | |||
| |
1.1 | 40 | == Response Body == |
| 41 | |||
| 42 | {{code language="Json"}} | ||
| 43 | { | ||
| 44 | "accessToken": "string" | ||
| 45 | } | ||
| 46 | {{/code}} | ||
| 47 | |||
| |
6.1 | 48 | === === |
| 49 | |||
| |
7.1 | 50 | (% class="wikigeneratedid" %) |
| 51 | |||
| 52 | |||
| |
1.1 | 53 | === Schema === |
| 54 | |||
| |
3.1 | 55 | {{code language="none"}} |
| |
5.1 | 56 | AuthResponse{ |
| 57 | accessToken string | ||
| |
3.1 | 58 | nullable: true |
| 59 | } | ||
| 60 | {{/code}} |