commit | 2e8d9340160224d36fd555eaf8837240a7e239a7 | [log] [tgz] |
---|---|---|
author | Joel Ferrier <joelferrier@google.com> | Thu Apr 01 16:22:52 2021 -0700 |
committer | Cody Oss <codyoss@google.com> | Fri Apr 02 16:14:24 2021 +0000 |
tree | 7a856882ce6507a28036b84c5b64c4ada9544b2e | |
parent | 22b0adad7558c54bf49787666d8773cae1dd3e77 [diff] |
google: Use bytes.Buffer for go 1.9 compatability Update test cases to use const test data file references. Change-Id: Ic08b6de5a84db7b2ae2c649ee676c5a2c13f4227 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/306749 Reviewed-by: Cody Oss <codyoss@google.com> Trust: Cody Oss <codyoss@google.com> Trust: Tyler Bui-Palsulich <tbp@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.