From a6bd8cefa1811bd24b86f8902872e4e8225f74c4 Mon Sep 17 00:00:00 2001 From: Jaana Burcu Dogan Date: Wed, 12 Apr 2017 00:26:39 -0700 Subject: [PATCH] amazon: add amazon endpoints Change-Id: Ib34eee690295615576ea6b0a5a17fa4ecde0ce01 Reviewed-on: https://go-review.googlesource.com/40402 Reviewed-by: Brad Fitzpatrick --- amazon/amazon.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 amazon/amazon.go diff --git a/amazon/amazon.go b/amazon/amazon.go new file mode 100644 index 0000000..d21da11 --- /dev/null +++ b/amazon/amazon.go @@ -0,0 +1,16 @@ +// Copyright 2017 The oauth2 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 amazon provides constants for using OAuth2 to access Amazon. +package amazon + +import ( + "golang.org/x/oauth2" +) + +// Endpoint is Amazon's OAuth 2.0 endpoint. +var Endpoint = oauth2.Endpoint{ + AuthURL: "https://www.amazon.com/ap/oa", + TokenURL: "https://api.amazon.com/auth/o2/token", +}