Skip to content

Commit

Permalink
add withings config
Browse files Browse the repository at this point in the history
  • Loading branch information
pdbogen committed Mar 27, 2019
1 parent c85d3e9 commit 097fdb3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions withings/withings.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright 2019 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 withings provides constants for using OAuth2 to access the Withings API.
package withings

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

// Endpoint is Withing's OAuth 2.0 endpoint.
var Endpoint = oauth2.Endpoint{
AuthURL: "https://account.withings.com/oauth2_user/authorize2",
TokenURL: "hhttps://account.withings.com/oauth2/token",
}

0 comments on commit 097fdb3

Please sign in to comment.