Fork of oauth 2 to allow the exposing of token refresher
Go to file
Mal Curtis 778494f9ec Handle expiry correctly in json response
Go treats json numbers as float64 not int. Previously json response
expiry information was ignored since it was expected to be an int.
2014-11-21 13:07:44 +13:00
google Introduce an option function type 2014-11-08 09:46:26 +11:00
internal Introduce an option function type 2014-11-08 09:46:26 +11:00
jws Introduce an option function type 2014-11-08 09:46:26 +11:00
.travis.yml Disable builds for classic App Engine. 2014-11-10 16:03:50 +11:00
AUTHORS Reverting the license back to the original. 2014-05-17 17:26:57 +02:00
CONTRIBUTORS Reverting the license back to the original. 2014-05-17 17:26:57 +02:00
LICENSE Reverting the license back to the original. 2014-05-17 17:26:57 +02:00
README.md Godoc links should seem to be linking to godoc.org 2014-09-18 00:42:53 -07:00
example_test.go Introduce an option function type 2014-11-08 09:46:26 +11:00
jwt.go Introduce an option function type 2014-11-08 09:46:26 +11:00
jwt_test.go Introduce an option function type 2014-11-08 09:46:26 +11:00
oauth2.go Handle expiry correctly in json response 2014-11-21 13:07:44 +13:00
oauth2_test.go Handle expiry correctly in json response 2014-11-21 13:07:44 +13:00
transport.go Introduce an option function type 2014-11-08 09:46:26 +11:00
transport_test.go Introduce an option function type 2014-11-08 09:46:26 +11:00

README.md

OAuth2 for Go

Build Status

oauth2 package contains a client implementation for OAuth 2.0 spec.

Installation

go get github.com/golang/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.