2014-06-24 18:55:10 -04:00
|
|
|
# OAuth2 for Go
|
|
|
|
|
|
|
|
oauth2 package contains a client implementation for OAuth 2.0 spec.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
~~~~
|
|
|
|
go get github.com/golang/oauth2
|
|
|
|
~~~~
|
|
|
|
|
|
|
|
See [godoc](http://godoc.org/github.com/golang/oauth2) for further documentation and examples.
|
2014-06-24 19:00:24 -04:00
|
|
|
|
|
|
|
## 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](http://code.google.com/legal/individual-cla-v1.0.html).
|
|
|
|
- **If you work for a company that wants to allow you to contribute your work**,
|
|
|
|
then you'll need to sign a [corporate CLA](http://code.google.com/legal/corporate-cla-v1.0.html).
|
|
|
|
|
|
|
|
You can sign these electronically (just scroll to the bottom).
|
|
|
|
After that, we'll be able to accept your pull requests.
|