Skip to content

Commit f6687ab

Browse files
akaijbradfitz
authored andcommitted
endpoints: add Battlenet endpoints
OAuth APIs: https://develop.battle.net/documentation/battle-net/oauth-apis Change-Id: I7c10f68c6ef0cb9b77cffa104e71a7198a599c89 GitHub-Last-Rev: e959643 GitHub-Pull-Request: #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>
1 parent 9963728 commit f6687ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎endpoints/endpoints.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ var Amazon = oauth2.Endpoint{
1717
TokenURL: "https://api.amazon.com/auth/o2/token",
1818
}
1919

20+
// Battlenet is the endpoint for Battlenet.
21+
var Battlenet = oauth2.Endpoint{
22+
AuthURL: "https://battle.net/oauth/authorize",
23+
TokenURL: "https://battle.net/oauth/token",
24+
}
25+
2026
// Bitbucket is the endpoint for Bitbucket.
2127
var Bitbucket = oauth2.Endpoint{
2228
AuthURL: "https://bitbucket.org/site/oauth2/authorize",

0 commit comments

Comments
��(0)