Moved warning message in doc

This commit is contained in:
aeitzman 2023-02-14 16:24:05 -08:00
parent 45e2b9ca07
commit 15d7759884
1 changed files with 5 additions and 4 deletions

View File

@ -57,6 +57,11 @@
// executable-sourced credentials), please check out: // executable-sourced credentials), please check out:
// https://cloud.google.com/iam/docs/using-workload-identity-federation#oidc // 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 // # Credentials
// //
// The Credentials type represents Google credentials, including Application Default // The Credentials type represents Google credentials, including Application Default
@ -82,8 +87,4 @@
// JWTConfigFromJSON, but the Credentials may contain additional information // JWTConfigFromJSON, but the Credentials may contain additional information
// that is useful is some circumstances. // 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" package google // import "golang.org/x/oauth2/google"