forked from Mirrors/oauth2
endpoints: add battlenet endpoints
URL sources: https://develop.battle.net/documentation/guides/using-oauth
This commit is contained in:
parent
5e61552d6c
commit
e9596432c8
|
@ -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…
Reference in New Issue