Skip to content

Commit a6bd8ce

Browse files
committed
amazon: add amazon endpoints
Change-Id: Ib34eee690295615576ea6b0a5a17fa4ecde0ce01 Reviewed-on: https://go-review.googlesource.com/40402 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 7fdf099 commit a6bd8ce

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

amazon/amazon.go

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2017 The oauth2 Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
// Package amazon provides constants for using OAuth2 to access Amazon.
6+
package amazon
7+
8+
import (
9+
"golang.org/x/oauth2"
10+
)
11+
12+
// Endpoint is Amazon's OAuth 2.0 endpoint.
13+
var Endpoint = oauth2.Endpoint{
14+
AuthURL: "https://www.amazon.com/ap/oa",
15+
TokenURL: "https://api.amazon.com/auth/o2/token",
16+
}

0 commit comments

Comments
 (0)