This commit is contained in:
2025-09-18 11:38:52 -07:00
parent 026d8873bb
commit 3d4cffddbf
4 changed files with 15 additions and 80 deletions

View File

@@ -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"`
}