mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
fitbit: add Fitbit API endpoints
Change-Id: I4578f5683aa9ed728e503cb3b08ff0bf743a6190 Reviewed-on: https://go-review.googlesource.com/21034 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
045497edb6
commit
93758b5cba
16
fitbit/fitbit.go
Normal file
16
fitbit/fitbit.go
Normal file
@ -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 fitbit provides constants for using OAuth2 to access the Fitbit API.
|
||||
package fitbit // import "golang.org/x/oauth2/fitbit"
|
||||
|
||||
import (
|
||||
"golang.org/x/oauth2"
|
||||
)
|
||||
|
||||
// Endpoint is the Fitbit API's OAuth 2.0 endpoint.
|
||||
var Endpoint = oauth2.Endpoint{
|
||||
AuthURL: "https://www.fitbit.com/oauth2/authorize",
|
||||
TokenURL: "https://api.fitbit.com/oauth2/token",
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user