commit | ba495a64dcb59dd28baeda5ded53504191dea54f | [log] [tgz] |
---|---|---|
author | Guillaume Blaquiere <guillaume.blaquiere@gmail.com> | Thu Oct 28 17:47:33 2021 +0000 |
committer | Cody Oss <codyoss@google.com> | Thu Oct 28 17:52:45 2021 +0000 |
tree | 44954bcd3aa97bf4ce5e827cacc94ed3fae50b56 | |
parent | 6b3c2da341f1ae337c2ca717bfb1cfef01aeed9b [diff] |
google: add support for "impersonated_service_account" credential type. New credential type supported: "impersonated_service_account". Extend the "credentialsFile" struct to take into account the credential source for the impersonation. Reuse of `ImpersonateTokenSource` struct, from `google/internal/externalaccount/Impersonate.go' file. The struct has a package-scope visibility now. Fixes: #515 Change-Id: I87e213be6d4b6add2d6d82b91b1b38e43a0d2fe4 GitHub-Last-Rev: 14806e6b37a019cbff58e2088ee99191e89b4f7e GitHub-Pull-Request: golang/oauth2#516 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/344369 Reviewed-by: Cody Oss <codyoss@google.com> Trust: Cody Oss <codyoss@google.com> Trust: Michael Knyszek <mknyszek@google.com> Run-TryBot: Cody Oss <codyoss@google.com> TryBot-Result: Go Bot <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.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the oauth2 repository is located at https://github.com/golang/oauth2/issues.