mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
endpoints: add Battlenet endpoints
OAuth APIs: https://develop.battle.net/documentation/battle-net/oauth-apis Change-Id: I7c10f68c6ef0cb9b77cffa104e71a7198a599c89 GitHub-Last-Rev: e9596432c8cc6f91346cd6f38d14802ea6e35dd0 GitHub-Pull-Request: golang/oauth2#489 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/310249 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Trust: Brad Fitzpatrick <bradfitz@golang.org> Trust: Heschi Kreinick <heschi@google.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
9963728281
commit
f6687ab280
@ -17,6 +17,12 @@ var Amazon = oauth2.Endpoint{
|
|||||||
TokenURL: "https://api.amazon.com/auth/o2/token",
|
TokenURL: "https://api.amazon.com/auth/o2/token",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Battlenet is the endpoint for Battlenet.
|
||||||
|
var Battlenet = oauth2.Endpoint{
|
||||||
|
AuthURL: "https://battle.net/oauth/authorize",
|
||||||
|
TokenURL: "https://battle.net/oauth/token",
|
||||||
|
}
|
||||||
|
|
||||||
// Bitbucket is the endpoint for Bitbucket.
|
// Bitbucket is the endpoint for Bitbucket.
|
||||||
var Bitbucket = oauth2.Endpoint{
|
var Bitbucket = oauth2.Endpoint{
|
||||||
AuthURL: "https://bitbucket.org/site/oauth2/authorize",
|
AuthURL: "https://bitbucket.org/site/oauth2/authorize",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user