aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/golang.org/x/oauth2/README.md
diff options
context:
space:
mode:
authorGravatar Frederic Guillot <fred@miniflux.net>2018-12-09 17:59:39 -0800
committerGravatar Frederic Guillot <fred@miniflux.net>2018-12-09 17:59:39 -0800
commit59d8e9b95eddc6b74b76bfc0bd8b786750e800a6 (patch)
tree5b2379ea736b7bb94e2fc0d492e86b04f32a8d2b /vendor/golang.org/x/oauth2/README.md
parent61bfb3cfa8857a144460d05330c1d1fccded960b (diff)
Update dependencies
Diffstat (limited to 'vendor/golang.org/x/oauth2/README.md')
-rw-r--r--vendor/golang.org/x/oauth2/README.md13
1 files changed, 11 insertions, 2 deletions
diff --git a/vendor/golang.org/x/oauth2/README.md b/vendor/golang.org/x/oauth2/README.md
index eb8dcee..68f436e 100644
--- a/vendor/golang.org/x/oauth2/README.md
+++ b/vendor/golang.org/x/oauth2/README.md
@@ -24,7 +24,9 @@ See godoc for further documentation and examples.
In change 96e89be (March 2015), we removed the `oauth2.Context2` type in favor
of the [`context.Context`](https://golang.org/x/net/context#Context) type from
-the `golang.org/x/net/context` package
+the `golang.org/x/net/context` package. Later replaced by the standard `context` package
+of the [`context.Context`](https://golang.org/pkg/context#Context) type.
+
This means it's no longer possible to use the "Classic App Engine"
`appengine.Context` type with the `oauth2` package. (You're using
@@ -44,7 +46,7 @@ with the `oauth2` package.
```go
import (
- "golang.org/x/net/context"
+ "context"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
newappengine "google.golang.org/appengine"
@@ -68,6 +70,13 @@ func handler(w http.ResponseWriter, r *http.Request) {
}
```
+## Policy for new packages
+
+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.
+
## Report Issues / Send Patches
This repository uses Gerrit for code changes. To learn how to submit changes to