oauth2: rewrite google package, fix the broken build

Change-Id: I2753a88d7be483bdbc0cac09a1beccc4806ea4bc
Reviewed-on: https://go-review.googlesource.com/1361
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
14 files changed
tree: fd071bdc1fee7ea36d1f1508f3d6cc5e45a5fe5d
  1. google/
  2. internal/
  3. jws/
  4. .travis.yml
  5. AUTHORS
  6. client_appengine.go
  7. CONTRIBUTORS
  8. example_test.go
  9. jwt.go
  10. jwt_test.go
  11. LICENSE
  12. oauth2.go
  13. oauth2_test.go
  14. README.md
  15. transport.go
  16. transport_test.go
README.md

OAuth2 for Go

Build Status

oauth2 package contains a client implementation for OAuth 2.0 spec.

Installation

go get golang.org/x/oauth2

See godoc for further documentation and examples.

Contributing

Fork the repo, make changes, run the tests and open a pull request.

Before we can accept any pull requests we have to jump through a couple of legal hurdles, primarily a Contributor License Agreement (CLA):

  • If you are an individual writing original source code and you‘re sure you own the intellectual property, then you’ll need to sign an individual CLA.
  • If you work for a company that wants to allow you to contribute your work, then you'll need to sign a corporate CLA.

You can sign these electronically (just scroll to the bottom). After that, we'll be able to accept your pull requests.