tree: e7efa7f8d52e8336b0260414c56e18a5f9d90e26
  1. credentials/
  2. grpctransport/
  3. httptransport/
  4. internal/
  5. oauth2adapt/
  6. auth.go
  7. CHANGES.md
  8. LICENSE
  9. README.md
  10. threelegged.go
vendor/cloud.google.com/go/auth/README.md

Google Auth Library for Go

Go Reference

Install

go get cloud.google.com/go/auth@latest

Usage

The most common way this library is used is transitively, by default, from any of our Go client libraries.

Notable use-cases

  • To create a credential directly please see examples in the credentials package.
  • To create a authenticated HTTP client please see examples in the httptransport package.
  • To create a authenticated gRPC connection please see examples in the grpctransport package.
  • To create an ID token please see examples in the idtoken package.

Contributing

Contributions are welcome. Please, see the CONTRIBUTING document for details.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.