commit | 858c2ad4c8b6c5d10852cb89079f6ca1c7309787 | [log] [tgz] |
---|---|---|
author | Tim Cooper <tim.cooper@layeh.com> | Thu Jun 28 19:10:32 2018 -0300 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Dec 02 22:59:59 2019 +0000 |
tree | 4beb0f2bb4de6ce1e074d3f4fd2919b835d0e28c | |
parent | 5d9234df094ce600ff541158d1491aa10d078a47 [diff] |
oauth2: turn Transport.CancelRequest into a no-op Request cancellation should be done via http.Request.Context. Fixes #271 Change-Id: Ia6251898e55bd15b27968504fc6efe14f05b1def Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/121438 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
oauth2 package contains a client implementation for OAuth 2.0 spec.
go get golang.org/x/oauth2
Or you can manually git clone the repository to $(go env GOPATH)/src/golang.org/x/oauth2
.
See godoc for further documentation and examples.
We no longer accept new provider-specific packages in this repo. For defining provider endpoints and provider-specific OAuth2 behavior, we encourage you to create packages elsewhere. We'll keep the existing packages for compatibility.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the oauth2 repository is located at https://github.com/golang/oauth2/issues.