Skip to content

Commit

Permalink
oauth2: add Foursquare's Endpoint
Browse files Browse the repository at this point in the history
Change-Id: If23b45150ac52c96f126e7d8e2a15f586bc3ac1c
Reviewed-on: https://go-review.googlesource.com/32010
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
Gareth Paul Jones authored and bradfitz committed Oct 25, 2016
1 parent 1e695b1 commit 25b4fb1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions foursquare/foursquare.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright 2016 The Go 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 foursquare provides constants for using OAuth2 to access Foursquare.
package foursquare // import "golang.org/x/oauth2/foursquare"

import (
"golang.org/x/oauth2"
)

// Endpoint is Foursquare's OAuth 2.0 endpoint.
var Endpoint = oauth2.Endpoint{
AuthURL: "https://foursquare.com/oauth2/authorize",
TokenURL: "https://foursquare.com/oauth2/access_token",
}

0 comments on commit 25b4fb1

Please sign in to comment.