Fork of oauth 2 to allow the exposing of token refresher
Go to file
Burcu Dogan 49f4824137 Merge pull request #48 from gmlewis/cache-mock
Cache oauth tokens locally and with Memcache.
2014-10-31 17:13:19 -07:00
google Locally cache oauth tokens. 2014-10-31 16:04:03 -07:00
jws oauth2: Allow use of arbitrary RSA private keys to sign JWT token retrieving requests. 2014-08-11 17:54:04 -07:00
.travis.yml Build against the appengine runtime. 2014-10-29 19:51:15 -07: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 Access type and approval prompt should be set at URL generation. 2014-09-04 23:30:06 -07:00
jwt.go Allow users to get extra fields from a token response. 2014-10-27 20:01:11 -07:00
jwt_test.go Allow users to get extra fields from a token response. 2014-10-27 20:01:11 -07:00
oauth2.go Allow users to get extra fields from a token response. 2014-10-27 20:01:11 -07:00
oauth2_test.go Allow users to get extra fields from a token response. 2014-10-27 20:01:11 -07:00
transport.go Allow users to get extra fields from a token response. 2014-10-27 20:01:11 -07:00
transport_test.go Don't provide a Transport interface but provide a http.RoundTripper implementation. 2014-08-14 10:59:09 -07: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.