Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - on each authHttp call, check if token is expired
- - if it IS expired, then it tries to refresh the token
- - if it successfully refreshed then proceed with initial request
- - if it is not successfully refreshed i throw an observable error (so whoever uses authHttp can figure out what to do)
- - if it is NOT expired, just proceed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement