commit | 8d6d45b6cde73b704061a2914b49bae1a1d5366e | [log] [tgz] |
---|---|---|
author | Chris Smith <chrisdsmith@google.com> | Thu Sep 28 12:46:05 2023 -0600 |
committer | Cody Oss <codyoss@google.com> | Fri Sep 29 14:33:30 2023 +0000 |
tree | 2738831de9359fffd5b78066496779e3c4889853 | |
parent | 43b6a7ba1972152df70cd1e5ac7705e981df5f66 [diff] |
google: add Credentials.UniverseDomain to support TPC Read and expose universe_domain from service account JSON files in CredentialsFromJSONWithParams to support TPC in 1p clients. Change-Id: I3518a0ec8be5ff7235b946cffd88b26ac8d303cf Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/531715 Run-TryBot: Cody Oss <codyoss@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cody Oss <codyoss@google.com>
oauth2 package contains a client implementation for OAuth 2.0 spec.
go get golang.org/x/oauth2
Or you can manually git clone the repository to $(go env GOPATH)/src/golang.org/x/oauth2
.
See pkg.go.dev for further documentation and examples.
We no longer accept new provider-specific packages in this repo if all they do is add a single endpoint variable. If you just want to add a single endpoint, add it to the pkg.go.dev/golang.org/x/oauth2/endpoints package.
The main issue tracker for the oauth2 repository is located at https://github.com/golang/oauth2/issues.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. In particular: