You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+59-32Lines changed: 59 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
openapi: 3.0.1
2
2
info:
3
-
version: 4.69.0
3
+
version: 4.70.0
4
4
5
5
title: Linode API
6
6
description: |
@@ -84,7 +84,7 @@ info:
84
84
| 4. The login server redirects the user to the specificed redirect URL with a temporary authorization `code` (exchange code) in the URL. | 4. The login server redirects the user back to your application with an OAuth `access_token` embedded in the redirect URL's hash. This is temporary and expires in two hours. No `refresh_token` is issued. Therefore, once the `access_token` expires, a new one will need to be issued by having the user log in again. |
85
85
| 5. The application issues a POST request (*see below*) to the login server with the exchange code, `client_id`, and the client application's `client_secret`. | |
86
86
| 6. The login server responds to the client application with a new OAuth `access_token` and `refresh_token`. The `access_token` is set to expire in two hours. | |
87
-
| 7. The `refresh_token` can be used by contacting the login server with the `client_id`, `client_secret`, and `refresh_token` to get a new OAuth `access_token` and `refresh_token`. The new `access_token` is good for another two hours, and the new `refresh_token`, can be used to extend the session again by this same method. | |
87
+
| 7. The `refresh_token` can be used by contacting the login server with the `client_id`, `client_secret`, `grant_type`, and `refresh_token` to get a new OAuth `access_token` and `refresh_token`. The new `access_token` is good for another two hours, and the new `refresh_token`, can be used to extend the session again by this same method. | |
88
88
89
89
### OAuth Private Workflow - Additional Details
90
90
@@ -103,6 +103,7 @@ info:
103
103
104
104
| PARAMETER | DESCRIPTION |
105
105
|-----------|-------------|
106
+
| grant_type | The grant type you're using for renewal. Currently only the string "refresh_token" is accepted. |
106
107
| client_id | Your app's client ID. |
107
108
| client_secret | Your app's client secret. |
108
109
| code | The code you just received from the redirect. |
@@ -4630,15 +4631,7 @@ paths:
4630
4631
description: >
4631
4632
The new root password for the OS installed on this Disk.
4632
4633
4633
-
The password must contain at least two of these four
4634
-
character classes:
4635
-
4636
-
* lowercase letters
4637
-
* uppercase letters
4638
-
* numbers
4639
-
* punctuation
4640
-
minLength: 6
4641
-
maxLength: 128
4634
+
The password must meet the complexity strength validation requirements for a strong password.
0 commit comments