-
Notifications
You must be signed in to change notification settings - Fork 1k
google: Add support for CredentialsParams, Client ID json, and JWT Subject #490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add OAuthClientTokenSource in google/google.go Add DefaultAuthorizationHandler in authhandler.go
Added authhandler.go, which implements a TokenSource to support "three-legged OAuth 2.0" via a custom AuthorizationHandler. Added default_authhandler.go to provide a command line implementation for AuthorizationHandler.
Sync from upstream
Sync with upstream master
|
This PR (HEAD: debdcb4) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/311589 to see it. Tip: You can toggle comments from me using the |
|
Message from Shin Fan: Patch Set 1: Code-Review+1 Trust+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/311589. |
|
Message from Cody Oss: Patch Set 1: (7 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/311589. |
|
This PR (HEAD: 3a734b4) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/311589 to see it. Tip: You can toggle comments from me using the |
|
Message from Andy Zhao: Patch Set 2: (8 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/311589. |
|
Message from Cody Oss: Patch Set 2: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/311589. |
|
Message from Andy Zhao: Patch Set 2: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/311589. |
|
This PR (HEAD: eb92ab4) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/311589 to see it. Tip: You can toggle comments from me using the |
|
Message from Andy Zhao: Patch Set 3: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/311589. |
|
Message from Cody Oss: Patch Set 3: Run-TryBot+1 Code-Review+2 Trust+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/311589. |
|
Message from Go Bot: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/311589. |
|
Message from Go Bot: Patch Set 3: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/311589. |
…bject *Add support for Google Developers Console client_credentials.json as a TokenSource. *Add support for JWT Subject (for domain-wide delegation when using service account as credentials source.) *Add support for non-default AuthURL and TokenURL for authorized user credentials source. To support this change, two new exported functions FindDefaultCredentialsWithParams and CredentialsFromJSONWithParams are introduced. Change-Id: Ib467822e2c14e02f8ae68586665c439960cfbd5c GitHub-Last-Rev: eb92ab4 GitHub-Pull-Request: #490 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/311589 Reviewed-by: Shin Fan <shinfan@google.com> Reviewed-by: Cody Oss <codyoss@google.com> Trust: Shin Fan <shinfan@google.com> Trust: Cody Oss <codyoss@google.com>
|
This PR is being closed because golang.org/cl/311589 has been merged. |
*Add support for Google Developers Console client_credentials.json as a TokenSource.
*Add support for JWT Subject (for domain-wide delegation when using service account as credentials source.)
*Add support for non-default AuthURL and TokenURL for authorized user credentials source.
To support this change, two new exported functions FindDefaultCredentialsWithParams and CredentialsFromJSONWithParams are introduced.