Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation missing on payload option #15

Open
nomorebugs opened this issue Nov 8, 2017 · 0 comments
Open

Documentation missing on payload option #15

nomorebugs opened this issue Nov 8, 2017 · 0 comments

Comments

@nomorebugs
Copy link

I have to send the current token as payload in request body to refresh it.

It took me some time reading the source code to figure out, that a dynamic payload is possible by wrapping a Promise in a function.

This feature should be documented.
Furthermore it appears a bit strange, that neither a simple callback function is used nor an observable directly (as rxjs is used in source) and this promise is converted into an observable later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant