From e9596432c8cc6f91346cd6f38d14802ea6e35dd0 Mon Sep 17 00:00:00 2001 From: akay Date: Thu, 15 Apr 2021 00:23:36 +0300 Subject: [PATCH] endpoints: add battlenet endpoints URL sources: https://develop.battle.net/documentation/guides/using-oauth --- endpoints/endpoints.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/endpoints/endpoints.go b/endpoints/endpoints.go index 3b7f32a..66a0070 100644 --- a/endpoints/endpoints.go +++ b/endpoints/endpoints.go @@ -17,6 +17,12 @@ var Amazon = oauth2.Endpoint{ 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. var Bitbucket = oauth2.Endpoint{ AuthURL: "https://bitbucket.org/site/oauth2/authorize",