From 0628e02a889c995a46c0d6480ad72b7f35e60a25 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 20 Jan 2023 08:56:29 -0500 Subject: [PATCH 1/3] docs: clarified Maven artifact for HTTP-based clients --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c94afa4bb..191ddcfdf 100644 --- a/README.md +++ b/README.md @@ -930,10 +930,12 @@ The above example requires `com.google.http-client:google-http-client-apache-v2` ## Using Credentials with `google-http-client` -Credentials provided by `google-auth-library` can be used with Google's -[HTTP-based clients][apiary-clients]. We provide a -[`HttpCredentialsAdapter`][http-credentials-adapter] which can be used as an -[`HttpRequestInitializer`][http-request-initializer]. +Credentials provided by [com.google.auth:google-auth-library-oauth2-http]( +https://search.maven.org/artifact/com.google.auth/google-auth-library-oauth2-http) +can be used with Google's [HTTP-based clients][apiary-clients]. +We provide a [`HttpCredentialsAdapter`][http-credentials-adapter] which can be used +as an [`HttpRequestInitializer`][http-request-initializer], the last argument for +the their builders. ```java import com.google.api.client.http.HttpRequestInitializer; @@ -949,6 +951,7 @@ Bigquery bq = new Bigquery.Builder(HTTP_TRANSPORT, JSON_FACTORY, requestInitiali .build(); ``` + ## Verifying JWT Tokens (Beta) To verify a JWT token, use the [`TokenVerifier`][token-verifier] class. From 20685dd0e8b4da6cba3f2a95267e8f2c92dcf166 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 20 Jan 2023 08:58:11 -0500 Subject: [PATCH 2/3] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 191ddcfdf..1d20a7cae 100644 --- a/README.md +++ b/README.md @@ -935,7 +935,7 @@ https://search.maven.org/artifact/com.google.auth/google-auth-library-oauth2-htt can be used with Google's [HTTP-based clients][apiary-clients]. We provide a [`HttpCredentialsAdapter`][http-credentials-adapter] which can be used as an [`HttpRequestInitializer`][http-request-initializer], the last argument for -the their builders. +their builders. ```java import com.google.api.client.http.HttpRequestInitializer; From 39eba48645eaf10337c88a015a9703d3a4bd1c60 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 20 Jan 2023 08:58:53 -0500 Subject: [PATCH 3/3] remove irrelevant line --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 1d20a7cae..e4e233807 100644 --- a/README.md +++ b/README.md @@ -951,7 +951,6 @@ Bigquery bq = new Bigquery.Builder(HTTP_TRANSPORT, JSON_FACTORY, requestInitiali .build(); ``` - ## Verifying JWT Tokens (Beta) To verify a JWT token, use the [`TokenVerifier`][token-verifier] class.