Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultScopes = []string{"user.info, user.metrics, user.activity"} AppleHealthState string )
View Source
var AppleHealthEndpoint = oauth2.Endpoint{
AuthURL: "https://account.apple.com/oauth2_user/authorize2",
TokenURL: "https://account.apple.com/oauth2/token",
}
HealthMateEndpoint is the endpoints for Withings Health Mate
Functions ¶
Types ¶
type Client ¶
func (*Client) GetAccessToken ¶
GetAccessToken obtains the access token for the authenticated user
func (*Client) GetAuthCodeURL ¶
GetAuthCodeURL obtains the user authentication URL
Click to show internal directories.
Click to hide internal directories.