debian-forge-composer/vendor/golang.org/x/oauth2
Tomas Hozza 07a5745875 internal/cloud/gcp: use pkg.go.dev/cloud.google.com/go for Compute Engine
The internal GCP package used `pkg.go.dev/google.golang.org/api` [1] to
interact with Compute Engine API. Modify the package to use the new and
idiomatic `pkg.go.dev/cloud.google.com/go` [2] library for interacting
with the Compute Engine API. The new library have been already used to
interact with the Cloudbuild and Storage APIs. The new library was not
used for Compute Engine since the beginning, because at that time, it
didn't support Compute Engine.

Update go.mod and vendored packages.

[1] https://github.com/googleapis/google-api-go-client
[2] https://github.com/googleapis/google-cloud-go

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2022-02-03 15:35:28 +01:00
..
authhandler build(deps): bump google.golang.org/api from 0.36.0 to 0.56.0 2021-09-05 11:17:29 +02:00
google internal/cloud/gcp: use pkg.go.dev/cloud.google.com/go for Compute Engine 2022-02-03 15:35:28 +01:00
internal build(deps): bump google.golang.org/api from 0.36.0 to 0.56.0 2021-09-05 11:17:29 +02:00
jws internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
jwt internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
.travis.yml internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
AUTHORS internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
CONTRIBUTING.md internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
CONTRIBUTORS internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
go.mod internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
go.sum internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
LICENSE internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
oauth2.go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
README.md internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
token.go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
transport.go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00

OAuth2 for Go

Go Reference Build Status

oauth2 package contains a client implementation for OAuth 2.0 spec.

Installation

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.

Policy for new packages

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.

Report Issues / Send Patches

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.