commit | c85d3e98c914e3a33234ad863dcbff5dbc425bb8 | [log] [tgz] |
---|---|---|
author | Ggicci <ggicci.t@gmail.com> | Mon Mar 18 08:32:44 2019 +0800 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Tue Mar 19 18:23:50 2019 +0000 |
tree | 2b2d285e5c5520c4bbf1f4fda02d06568f15d17c | |
parent | e64efc72b421e893cbf63f17ba2221e7d6d0b0f3 [diff] |
internal: remove fallback parsing for expires_in Facebook has correctted its OAuth2 implementation. The code as a fallback can be removed now. Updates golang/oauth2#51, golang/oauth2#239 Change-Id: Ib5f84bc35c0c4ecbdd25d4169f950410d4ae79a2 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/168017 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: JBD <jbd@google.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@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.