stravalib.client.Client.refresh_access_token#
- Client.refresh_access_token(client_id: int, client_secret: str, refresh_token: str) AccessInfo[source]#
Exchanges the previous refresh token for a short-lived access token and a new refresh token (used to obtain the next access token later on).
- Parameters:
- Returns:
Dictionary containing the access_token, refresh_token and expires_at (number of seconds since Epoch when the provided access token will expire)
- Return type: