commit | 6f9c1a18cc48103b815a810b907f038d953749a9 | [log] [tgz] |
---|---|---|
author | Koichi Shiraishi <zchee.io@gmail.com> | Tue Jun 14 10:57:10 2022 +0900 |
committer | Gopher Robot <gobot@golang.org> | Mon Feb 27 20:54:01 2023 +0000 |
tree | 9c0b9c5d679e13e5d8acb30137b25d0ab06645ef | |
parent | c82d0e16dcd7c2b3907866fc2124725806a3ed67 [diff] |
google: use Credentials instead of deprecated DefaultCredentials Change-Id: Ie2d972df025f6b6b7d172015aae7eb34e355cb28 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/412034 Reviewed-by: Matt Hickford <matt.hickford@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cody Oss <codyoss@google.com> Reviewed-by: Matthew Hickford <hickford@google.com> Run-TryBot: Matt Hickford <matt.hickford@gmail.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Cody Oss <codyoss@google.com>
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 pkg.go.dev for further documentation and examples.
We no longer accept new provider-specific packages in this repo if all they do is add a single endpoint variable. If you just want to add a single endpoint, add it to the pkg.go.dev/golang.org/x/oauth2/endpoints package.
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.