File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -172,21 +172,21 @@ of performing this task for us:
1721723 . ** RESTRequest**
173173
174174 Represents a REST API request which will be used to contact to the site directly. (Skipping Jetpack tunnel)
175- These requests are authenticated using application passwords.
175+ These requests are then authenticated using an application password using `AuthenticatedRESTRequest`.
176176
1771774 . ** AuthenticatedDotcomRequest**
178178
179- Injects a set of Credentials and a custom user-agent header into anything that conforms to the URLConvertible protocol. Usually wraps up
180- a DotcomRequest (OR) JetpackRequest.
179+ Injects a WordPress.com authentication token and a custom user-agent header into a URLRequest.
180+ Used for authenticating a DotcomRequest (OR) JetpackRequest.
181181
1821825 . ** AuthenticatedRESTRequest**
183183
184- Injects application password and a custom user-agent header into anything that conforms to the URLConvertible protocol. Usually wraps up
185- a RESTRequest.
184+ Injects application password and a custom user-agent header into a URLRequest.
185+ Used for authenticating ` RESTRequest` .
186186
1871876 . ** UnauthenticatedRequest**
188188
189- Wraps up a `URLConvertible ` with a custom user-agent header. Used when the request does not require WordPress.com authentication.
189+ Wraps up a `URLRequest ` with a custom user-agent header. Used when the request does not require WordPress.com authentication.
190190
191191### Remote Endpoints
192192
You can’t perform that action at this time.
0 commit comments