tree: e3d4af1a6548f92894fd01d42a3b4fc113e5b8fe [path history] [tgz]
  1. credentials/
  2. grpctransport/
  3. httptransport/
  4. internal/
  5. oauth2adapt/
  6. auth.go
  7. auth_test.go
  8. CHANGES.md
  9. example_test.go
  10. go.mod
  11. go.sum
  12. README.md
  13. threelegged.go
  14. threelegged_test.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.