Skip to content

Commit 5267746

Browse files
author
tomas
committed
Add refresh access token parameters explanation
1 parent 49f2fc4 commit 5267746

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@ Accept: application/json
147147
grant_type=refresh_token&client_id=<YOUR_CLIENT_ID>&client_secret=<YOUR_CLIENT_SECRET>&refresh_token={refresh_token}
148148
```
149149

150+
|Parameter|Mandatory|Description|
151+
|---------|---------|-----------|
152+
|**grant_type**|:heavy_check_mark:|OAuth 2.0 grant flow, we are using **refresh_token** following [authorization code flow](https://tools.ietf.org/html/rfc6749#section-1.3.1) to request a new access token|
153+
|**client_id**|:heavy_check_mark:|Client identifier provided by Webfleet solutions during registration process|
154+
|**client_secret**|:heavy_check_mark:|Client secret provided by Webfleet solutions during registration process|
155+
|**refresh_token**|:heavy_check_mark:|Refresh token representing resource owner's previous authorization for issuing access tokens on its behalf|
156+
157+
150158
A successful response will response something like:
151159

152160
```json
@@ -184,7 +192,7 @@ Revoking a refresh token requires the following parameters in a form encoded req
184192

185193
|Parameter|Mandatory|Description|
186194
|---------|---------|-----------|
187-
|__token__|:heavy_check_mark:|Refresh token to be revoked|
195+
|**token**|:heavy_check_mark:|Refresh token to be revoked|
188196

189197
Example using [Basic authentication](https://tools.ietf.org/html/rfc7235) to inform client credentials
190198

0 commit comments

Comments
 (0)