-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nokiehealth: add endpoint for Nokia Health Mate
Change-Id: I4fdc7be10d1e10c188889aa149fd5019a7c062bd GitHub-Last-Rev: 6fbdac8 GitHub-Pull-Request: #315 Reviewed-on: https://go-review.googlesource.com/130477 Reviewed-by: Brad Fitzpatrick <[email protected]>
- Loading branch information
1 parent
f720f1f
commit d2e6202
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Copyright 2018 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 nokiahealth provides constants for using OAuth2 to access the Nokia Health Mate API. | ||
package nokiahealth | ||
|
||
import ( | ||
"golang.org/x/oauth2" | ||
) | ||
|
||
// Endpoint is Nokia Health Mate's OAuth 2.0 endpoint. | ||
var Endpoint = oauth2.Endpoint{ | ||
AuthURL: "https://account.health.nokia.com/oauth2_user/authorize2", | ||
TokenURL: "https://account.health.nokia.com/oauth2/token", | ||
} |