strava-api-v3
strava-api-v3 copied to clipboard
Implemented auth/refresh token exchange.
Addresses https://github.com/jaredholdcroft/strava-api-v3/issues/38, heavily inspired by https://github.com/dblock/slack-strava/pull/50.
- Added a generic
oauth_tokenfor future use and current use by token request and exchange - Failure in any of the OAuth methods will raise an exception, I believe this was a bug, now behaves more like all the other API methods
- The
retrieve_accesscall will now ask for the newerauthorization_codegrant type, older clients can specifynilif they want to buy time - Added
refresh_access_tokenand documented that access tokens expire and need to be refreshed
Bump @jaredholdcroft?
I'm going to move forward with https://github.com/dblock/strava-ruby-client, built from scratch with OAuth refresh token support and more.