commit | 11625ccb95ae1d99393185eb6eb10d6a5157e711 | [log] [tgz] |
---|---|---|
author | Chris Smith <chrisdsmith@google.com> | Mon Oct 02 12:57:29 2023 -0600 |
committer | Cody Oss <codyoss@google.com> | Mon Oct 02 22:04:54 2023 +0000 |
tree | 7a5440599a194f91c83f5c7db64e7473adb52dbb | |
parent | 8d6d45b6cde73b704061a2914b49bae1a1d5366e [diff] |
google: add authorized_user conditional to Credentials.UniverseDomain Return default universe domain if credentials type is authorized_user. Change-Id: I20a9b5fafa562fcec84717914a236d081f630591 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/532196 Run-TryBot: Cody Oss <codyoss@google.com> Reviewed-by: Cody Oss <codyoss@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
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: