badgateway / oauth2-client

OAuth2 client for Node and browsers
https://www.npmjs.com/package/@badgateway/oauth2-client
MIT License
284 stars 34 forks source link

Added a getOptions method #21

Closed evert closed 5 years ago

evert commented 5 years ago

This method can be used by applications to get all current token information.

A browser client might want to use this to store refresh/accessToken information into LocalStorage, so it can re-use them for even after a refresh.