mirror of
https://github.com/sstent/FitTrack_GarminSync.git
synced 2026-01-25 16:41:41 +00:00
878 B
878 B
Data Model: Garmin Login Improvements
Entity: GarminCredentials
Represents the stored Garmin authentication information.
Attributes:
garmin_username(string): The Garmin Connect account username (email).garmin_password_plaintext(string): The plaintext password for the Garmin Connect account.access_token(string): The Garmin Connect access token.access_token_secret(string): The Garmin Connect access token secret.token_expiration_date(datetime): The expiration date and time of the access token.
Relationships:
- Stored in
centralDB.
Validation Rules:
garmin_usernameandgarmin_password_plaintextare required for initial login.access_token,access_token_secret, andtoken_expiration_dateare generated upon successful Garmin authentication and are required for subsequent token refreshes and sync operations.