Skip to content

Commit 25b4fb1

Browse files
Gareth Paul Jonesbradfitz
Gareth Paul Jones
authored andcommitted
oauth2: add Foursquare's Endpoint
Change-Id: If23b45150ac52c96f126e7d8e2a15f586bc3ac1c Reviewed-on: https://go-review.googlesource.com/32010 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 1e695b1 commit 25b4fb1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

foursquare/foursquare.go

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2016 The Go 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 foursquare provides constants for using OAuth2 to access Foursquare.
6+
package foursquare // import "golang.org/x/oauth2/foursquare"
7+
8+
import (
9+
"golang.org/x/oauth2"
10+
)
11+
12+
// Endpoint is Foursquare's OAuth 2.0 endpoint.
13+
var Endpoint = oauth2.Endpoint{
14+
AuthURL: "https://foursquare.com/oauth2/authorize",
15+
TokenURL: "https://foursquare.com/oauth2/access_token",
16+
}

0 commit comments

Comments
 (0)