mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
Device Authorization Grant following RFC 8628 https://datatracker.ietf.org/doc/html/rfc8628 Tested with GitHub Fixes #418 Fixes golang/go#58126 Co-authored-by: cmP <centimitr@gmail.com> Change-Id: Id588867110c6a5289bf1026da5d7ead88f9c7d14 GitHub-Last-Rev: 9a126d7b534532c7d18fb8d6796ad673b95fc09f GitHub-Pull-Request: golang/oauth2#609 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/450155 Commit-Queue: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> Run-TryBot: Matt Hickford <matt.hickford@gmail.com> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com>
14 lines
408 B
Go
14 lines
408 B
Go
// Copyright 2014 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Package github provides constants for using OAuth2 to access Github.
|
|
package github // import "golang.org/x/oauth2/github"
|
|
|
|
import (
|
|
"golang.org/x/oauth2/endpoints"
|
|
)
|
|
|
|
// Endpoint is Github's OAuth 2.0 endpoint.
|
|
var Endpoint = endpoints.GitHub
|