podman/vendor/golang.org/x/oauth2
Jhon Honce 5aead1509c Add X-Registry-Config support
* Refactor auth pkg to support X-Registry-Config
* Refactor build endpoint to support X-Registry-Config. Supports:
  * --creds
  * --authfile
* Added X-Reference-Id Header to http.Request to support log event
  correlation
* Log headers from http.Request

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-09-29 08:46:44 -07:00
..
internal update dependencies 2019-06-24 21:29:31 +02:00
.travis.yml update dependencies 2019-06-24 21:29:31 +02:00
AUTHORS update dependencies 2019-06-24 21:29:31 +02:00
CONTRIBUTING.md update dependencies 2019-06-24 21:29:31 +02:00
CONTRIBUTORS update dependencies 2019-06-24 21:29:31 +02:00
LICENSE update dependencies 2019-06-24 21:29:31 +02:00
README.md Add X-Registry-Config support 2020-09-29 08:46:44 -07:00
go.mod update dependencies 2019-06-24 21:29:31 +02:00
go.sum update dependencies 2019-06-24 21:29:31 +02:00
oauth2.go Add X-Registry-Config support 2020-09-29 08:46:44 -07:00
token.go update dependencies 2019-06-24 21:29:31 +02:00
transport.go Add X-Registry-Config support 2020-09-29 08:46:44 -07:00

README.md

OAuth2 for Go

Build Status GoDoc

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 godoc 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 godoc.org/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.