forked from Mirrors/oauth2
6f28996586
Adds support for the Resource Owner Password Credentials grant type, which allows trusted clients to exchange user credentials for an access token directly. This is generally a bad idea, but is extremely useful in some situations, where an external redirect is undesirable or impossible. See https://tools.ietf.org/html/rfc6749#section-4.3 Change-Id: I28efd77957bcf8e1174e93ba0c64a990b94eb839 Reviewed-on: https://go-review.googlesource.com/3862 Reviewed-by: Burcu Dogan <jbd@google.com> |
||
---|---|---|
github | ||
internal | ||
jws | ||
jwt | ||
.travis.yml | ||
AUTHORS | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
LICENSE | ||
README.md | ||
client_appengine.go | ||
example_test.go | ||
oauth2.go | ||
oauth2_test.go | ||
token.go | ||
token_test.go | ||
transport.go | ||
transport_test.go |
README.md
OAuth2 for Go
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.