Skip to content

Commit

Permalink
Moved warning message in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
aeitzman committed Feb 15, 2023
1 parent 45e2b9c commit 15d7759
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions google/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
// executable-sourced credentials), please check out:
// https://cloud.google.com/iam/docs/using-workload-identity-federation#oidc
//
// Note that this library does not perform any validation on the token_url, token_info_url,
// or service_account_impersonation_url fields of the credential configuration.
// It is not recommended to use a credential configuration that you did not generate with
// the gcloud CLI unless you verify that the URL fields point to a googleapis.com domain.
//
// # Credentials
//
// The Credentials type represents Google credentials, including Application Default
Expand All @@ -82,8 +87,4 @@
// JWTConfigFromJSON, but the Credentials may contain additional information
// that is useful is some circumstances.
//
// Note that this library does not perform any validation on the token_url, token_info_url,
// or service_account_impersonation_url fields of the credential configuration.
// It is not recommended to use a credential configuration that you did not generate with
// the gcloud CLI unless you verify that the URL fields point to a googleapis.com domain.
package google // import "golang.org/x/oauth2/google"

0 comments on commit 15d7759

Please sign in to comment.