You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.2 kB

123456789101112131415161718192021222324252627282930313233343536
  1. # OAuth2 for Go
  2. [![Build Status](https://travis-ci.org/golang/oauth2.svg?branch=master)](https://travis-ci.org/golang/oauth2)
  3. [![GoDoc](https://godoc.org/golang.org/x/oauth2?status.svg)](https://godoc.org/golang.org/x/oauth2)
  4. oauth2 package contains a client implementation for OAuth 2.0 spec.
  5. ## Installation
  6. ~~~~
  7. go get golang.org/x/oauth2
  8. ~~~~
  9. Or you can manually git clone the repository to
  10. `$(go env GOPATH)/src/golang.org/x/oauth2`.
  11. See godoc for further documentation and examples.
  12. * [godoc.org/golang.org/x/oauth2](https://godoc.org/golang.org/x/oauth2)
  13. * [godoc.org/golang.org/x/oauth2/google](https://godoc.org/golang.org/x/oauth2/google)
  14. ## Policy for new packages
  15. We no longer accept new provider-specific packages in this repo if all
  16. they do is add a single endpoint variable. If you just want to add a
  17. single endpoint, add it to the
  18. [godoc.org/golang.org/x/oauth2/endpoints](https://godoc.org/golang.org/x/oauth2/endpoints)
  19. package.
  20. ## Report Issues / Send Patches
  21. This repository uses Gerrit for code changes. To learn how to submit changes to
  22. this repository, see https://golang.org/doc/contribute.html.
  23. The main issue tracker for the oauth2 repository is located at
  24. https://github.com/golang/oauth2/issues.