golang.org/x/oauth2@v0.18.0/README.md (about)

     1  # OAuth2 for Go
     2  
     3  [![Go Reference](https://pkg.go.dev/badge/golang.org/x/oauth2.svg)](https://pkg.go.dev/golang.org/x/oauth2)
     4  [![Build Status](https://travis-ci.org/golang/oauth2.svg?branch=master)](https://travis-ci.org/golang/oauth2)
     5  
     6  oauth2 package contains a client implementation for OAuth 2.0 spec.
     7  
     8  ## Installation
     9  
    10  ~~~~
    11  go get golang.org/x/oauth2
    12  ~~~~
    13  
    14  Or you can manually git clone the repository to
    15  `$(go env GOPATH)/src/golang.org/x/oauth2`.
    16  
    17  See pkg.go.dev for further documentation and examples.
    18  
    19  * [pkg.go.dev/golang.org/x/oauth2](https://pkg.go.dev/golang.org/x/oauth2)
    20  * [pkg.go.dev/golang.org/x/oauth2/google](https://pkg.go.dev/golang.org/x/oauth2/google)
    21  
    22  ## Policy for new endpoints
    23  
    24  We no longer accept new provider-specific packages in this repo if all
    25  they do is add a single endpoint variable. If you just want to add a
    26  single endpoint, add it to the
    27  [pkg.go.dev/golang.org/x/oauth2/endpoints](https://pkg.go.dev/golang.org/x/oauth2/endpoints)
    28  package.
    29  
    30  ## Report Issues / Send Patches
    31  
    32  The main issue tracker for the oauth2 repository is located at
    33  https://github.com/golang/oauth2/issues.
    34  
    35  This repository uses Gerrit for code changes. To learn how to submit changes to
    36  this repository, see https://golang.org/doc/contribute.html. In particular:
    37  
    38  * Excluding trivial changes, all contributions should be connected to an existing issue.
    39  * API changes must go through the [change proposal process](https://go.dev/s/proposal-process) before they can be accepted.
    40  * The code owners are listed at [dev.golang.org/owners](https://dev.golang.org/owners#:~:text=x/oauth2).