Wiki source code of Authorization
Version 6.1 by Giorgi Mdivnishvili on 2023/12/14 07:46
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 | == == |
| 26 | |||
| |
1.1 | 27 | == Request Body == |
| 28 | |||
| 29 | {{code language="Json"}} | ||
| 30 | { | ||
| 31 | "login": "string", | ||
| 32 | "password": "string" | ||
| 33 | } | ||
| 34 | {{/code}} | ||
| 35 | |||
| |
6.1 | 36 | == == |
| 37 | |||
| |
1.1 | 38 | == Response Body == |
| 39 | |||
| 40 | {{code language="Json"}} | ||
| 41 | { | ||
| 42 | "accessToken": "string" | ||
| 43 | } | ||
| 44 | {{/code}} | ||
| 45 | |||
| |
6.1 | 46 | === === |
| 47 | |||
| |
1.1 | 48 | === Schema === |
| 49 | |||
| |
3.1 | 50 | {{code language="none"}} |
| |
5.1 | 51 | AuthResponse{ |
| 52 | accessToken string | ||
| |
3.1 | 53 | nullable: true |
| 54 | } | ||
| 55 | {{/code}} |