Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw error if there is no refresh token despite the necessity of ref…
…reshing (#605) If OAuth2Client without refresh token has no access token or has an expired access token, `OAuth2Client.prototype.getAccessToken` throws "No refresh token is set." error. This commit also reduces the number of unreachable code.
- Loading branch information