Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 19-Feb-2022 | - | ||||
clientcredentials/ | H | 19-Feb-2022 | - | 121 | 63 | |
google/ | H | 19-Feb-2022 | - | 1,918 | 1,366 | |
internal/ | H | 19-Feb-2022 | - | 389 | 254 | |
jws/ | H | 19-Feb-2022 | - | 183 | 121 | |
jwt/ | H | 19-Feb-2022 | - | 186 | 121 | |
.travis.yml | H A D | 19-Feb-2022 | 262 | 14 | 10 | |
AUTHORS | H A D | 19-Feb-2022 | 173 | 4 | 3 | |
CONTRIBUTING.md | H A D | 19-Feb-2022 | 924 | 27 | 17 | |
CONTRIBUTORS | H A D | 19-Feb-2022 | 170 | 4 | 3 | |
LICENSE | H A D | 19-Feb-2022 | 1.4 KiB | 28 | 24 | |
README.md | H A D | 19-Feb-2022 | 1.2 KiB | 37 | 24 | |
go.mod | H A D | 19-Feb-2022 | 167 | 10 | 7 | |
go.sum | H A D | 19-Feb-2022 | 35.6 KiB | 362 | 361 | |
oauth2.go | H A D | 19-Feb-2022 | 12.2 KiB | 382 | 186 | |
token.go | H A D | 19-Feb-2022 | 5 KiB | 179 | 103 | |
transport.go | H A D | 19-Feb-2022 | 2.3 KiB | 90 | 53 |
README.md
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 6oauth2 package contains a client implementation for OAuth 2.0 spec. 7 8## Installation 9 10~~~~ 11go get golang.org/x/oauth2 12~~~~ 13 14Or you can manually git clone the repository to 15`$(go env GOPATH)/src/golang.org/x/oauth2`. 16 17See 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 packages 23 24We no longer accept new provider-specific packages in this repo if all 25they do is add a single endpoint variable. If you just want to add a 26single endpoint, add it to the 27[pkg.go.dev/golang.org/x/oauth2/endpoints](https://pkg.go.dev/golang.org/x/oauth2/endpoints) 28package. 29 30## Report Issues / Send Patches 31 32This repository uses Gerrit for code changes. To learn how to submit changes to 33this repository, see https://golang.org/doc/contribute.html. 34 35The main issue tracker for the oauth2 repository is located at 36https://github.com/golang/oauth2/issues. 37