fitbit-node
fitbit-node copied to clipboard
Add AccessTokenStatus function, update Libs, and fix new lib usage
First off thanks for your work on the project.
I updated the dependencies and added a new function using https://api.fitbit.com/oauth2/introspect from https://dev.fitbit.com/build/reference/web-api/oauth2/ that returns information about the access token passed, if it is active, what are the scopes associated with it, who is the user etc. I initially updated simple-oauth2 without checking compatibility and of course, the update changed how oauth constructor was called. This new pull request fixes that. Sorry about the mess up. Thanks