commit | b52af7d5b4e39d5bb1ee067d8aa110fcce9e4cc7 | [log] [tgz] |
---|---|---|
author | M Hickford <mirth.hickford@gmail.com> | Tue Jul 23 15:23:42 2024 +0000 |
committer | Matt Hickford <matt.hickford@gmail.com> | Tue Aug 06 16:10:29 2024 +0000 |
tree | 907ab438534eeaf7cd9d9849e682ba343190f9b2 | |
parent | 6d8340f1c53c54333dc5f280d68732afd4d05113 [diff] |
endpoints: add GitLab DeviceAuthURL See GitLab documentation https://docs.gitlab.com/ee/api/oauth2.html#device-authorization-grant-flow. Change-Id: Ideffbfcb67e0b25251a0b18148e57eab43124d37 GitHub-Last-Rev: 6ecd45efff1a39fa7f31da96be70243b6029d16f GitHub-Pull-Request: golang/oauth2#733 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/600095 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Matt Hickford <matt.hickford@gmail.com> Reviewed-by: Matt Hickford <matt.hickford@gmail.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: David Chase <drchase@google.com> TryBot-Bypass: Matt Hickford <matt.hickford@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.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.
The main issue tracker for the oauth2 repository is located at https://github.com/golang/oauth2/issues.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. In particular: