Closed ekump closed 9 years ago
Looks good, though it might make sense to pass the client_id and client_secret to the initial constructor for the module, rather than to this method (so that we can then access it from this.options
)
Agreed, setting the id/secret on the constructor would make more sense. I'll make that change.
Sorry for the delay @ekump, your PR is much appreciated. Thanks!
Add a method to request a new access token from a user's refresh token. Will update and return both the access token and the refresh token.