mirror of
https://github.com/sstent/go-garth.git
synced 2026-01-26 09:03:00 +00:00
synd
This commit is contained in:
@@ -16,3 +16,10 @@ type Activity struct {
|
||||
Duration float64 `json:"duration"`
|
||||
Distance float64 `json:"distance"`
|
||||
}
|
||||
|
||||
// OAuth2Token represents the authentication tokens from Garmin's OAuth flow
|
||||
type OAuth2Token struct {
|
||||
AccessToken string `json:"access_token"`
|
||||
RefreshToken string `json:"refresh_token"`
|
||||
ExpiresIn int `json:"expires_in"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user