Changes for page 1. Authorization

Last modified by Giorgi Mdivnishvili on 2024/04/26 15:59

From version 26.1
edited by Giorgi Mdivnishvili
on 2024/01/09 12:45
Change comment: There is no comment for this version
To version 30.2
edited by Giorgi Mdivnishvili
on 2024/04/11 15:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,9 +7,9 @@
7 7  {{toc/}}
8 8  {{/box}}
9 9  
10 -= Method Description =
10 += Authorization: Starting Your Integration =
11 11  
12 -The initial method of the integration process is authorization. You will be provided with a  unique user username and password to generate the access token that you will need to pass in all the following methods.
12 +The first step in integrating with our API is the authorization process. As a developer, you'll be assigned a unique username and password. These credentials are essential for generating the access token, a critical component that must be included in the headers of all subsequent API requests. This token validates your requests and grants you access to the full suite of our services.
13 13  
14 14  
15 15  == Request URL - [POST] ==
... ... @@ -42,11 +42,14 @@
42 42  
43 43  {{code language="Json"}}
44 44  {
45 - "accessToken": "string"
45 + "accessToken": "string",
46 + "refreshToken": "string",
47 + "passwordExpired": true
46 46  }
47 47  {{/code}}
48 48  
49 49  
52 +
50 50  === Schema ===
51 51  
52 52  (% data-xwiki-non-generated-content="java.util.List" %)
... ... @@ -55,12 +55,13 @@
55 55  )))
56 56  
57 57  {{success}}
58 -AuthRequest{
61 +AuthResponse{
59 59  
60 -|login|string
63 +|accessToken|string
61 61  nullable: true
62 -|password|string
65 +|refreshToken|string
63 63  nullable: true
67 +|passwordExpired|boolean
64 64  
65 65  }
66 66  {{/success}}
... ... @@ -73,7 +73,7 @@
73 73  
74 74  **Key **- Authorization
75 75  
76 -**Value **- Bearer Token what is given in this response.
80 +**Value **- Bearer Token what is given in this response. (Authorization type Bearer Token)
77 77  
78 78  
79 79  **also note in headers that:**