@@ -203,11 +203,30 @@ can be omitted as long as the field is present in schema.
203203
204204** CSV Skip First Row:** Whether to skip the first row of the HTTP response. This is usually set if the first row is a header row.
205205
206- ### Basic Authentication
207-
208- ** Username:** Username for basic authentication.
209-
210- ** Password:** Password for basic authentication.
206+ ### Authentication
207+ * ** OAuth2**
208+ * ** Auth URL:** Endpoint for the authorization server used to retrieve the authorization code.
209+ * ** Token URL:** Endpoint for the resource server, which exchanges the authorization code for an access token.
210+ * ** Client ID:** Client identifier obtained during the Application registration process.
211+ * ** Client Secret:** Client secret obtained during the Application registration process.
212+ * ** Scopes:** Scope of the access request, which might have multiple space-separated values.
213+ * ** Refresh Token:** Token used to receive accessToken, which is end product of OAuth2.
214+ * ** Service Account** - service account key used for authorization
215+ * ** File Path** : Path on the local file system of the service account key used for
216+ authorization. Can be set to 'auto-detect' when running on a Dataproc cluster.
217+ When running on other clusters, the file must be present on every node in the cluster.
218+ * ** JSON** : Contents of the service account JSON file.
219+ * ** Scope** : The additional Google credential scopes required to access entered url, cloud-platform is included by
220+ default, visit https://developers.google.com/identity/protocols/oauth2/scopes for more information.
221+ * Scope example:
222+
223+ ```
224+ https://www.googleapis.com/auth/bigquery
225+ https://www.googleapis.com/auth/cloud-platform
226+ ```
227+ * ** Basic Authentication**
228+ * ** Username:** Username for basic authentication.
229+ * ** Password:** Password for basic authentication.
211230
212231### HTTP Proxy
213232
@@ -373,22 +392,6 @@ def get_next_page_url(url, page, headers):
373392The above code iterates over first five pages of searchcode.com results. When 'None' is returned the iteration
374393is stopped.
375394
376- ### OAuth2
377-
378- ** OAuth2 Enabled:** If true, plugin will perform OAuth2 authentication.
379-
380- ** Auth URL:** Endpoint for the authorization server used to retrieve the authorization code.
381-
382- ** Token URL:** Endpoint for the resource server, which exchanges the authorization code for an access token.
383-
384- ** Client ID:** Client identifier obtained during the Application registration process.
385-
386- ** Client Secret:** Client secret obtained during the Application registration process.
387-
388- ** Scopes:** Scope of the access request, which might have multiple space-separated values.
389-
390- ** Refresh Token:** Token used to receive accessToken, which is end product of OAuth2.
391-
392395### SSL/TLS
393396
394397** Verify HTTPS Trust Certificates:** If false, untrusted trust certificates (e.g. self signed), will not lead to an
0 commit comments