basvandorst / StravaPHP

Strava API REST client with OAuth authentication
MIT License
184 stars 67 forks source link

Miscellaneous minor improvements #22

Closed fbonzon closed 7 years ago

fbonzon commented 8 years ago

Show in README how to change requested scopes Consistently use ['write'] default scope Add missing ->getToken() method

Use BearerAuthorizationTrait in OAuth to save some extra code access_token is not needed in URL. Done automatically with HTTP headers

Improve specification of dependencies version The version of OAuth client currently used already requires PHP 5.5, so we can safely require it too in this package.

Prefer https links for documentation

Remove trailing space

All tests pass.

fbonzon commented 7 years ago

Friendly ping on this PR.