Skip to content

Commit 15d7759

Browse files
committed
Moved warning message in doc
1 parent 45e2b9c commit 15d7759

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

google/doc.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
// executable-sourced credentials), please check out:
5858
// https://cloud.google.com/iam/docs/using-workload-identity-federation#oidc
5959
//
60+
// Note that this library does not perform any validation on the token_url, token_info_url,
61+
// or service_account_impersonation_url fields of the credential configuration.
62+
// It is not recommended to use a credential configuration that you did not generate with
63+
// the gcloud CLI unless you verify that the URL fields point to a googleapis.com domain.
64+
//
6065
// # Credentials
6166
//
6267
// The Credentials type represents Google credentials, including Application Default
@@ -82,8 +87,4 @@
8287
// JWTConfigFromJSON, but the Credentials may contain additional information
8388
// that is useful is some circumstances.
8489
//
85-
// Note that this library does not perform any validation on the token_url, token_info_url,
86-
// or service_account_impersonation_url fields of the credential configuration.
87-
// It is not recommended to use a credential configuration that you did not generate with
88-
// the gcloud CLI unless you verify that the URL fields point to a googleapis.com domain.
8990
package google // import "golang.org/x/oauth2/google"

0 commit comments

Comments
 (0)