to go
Better refreshing of accessTokens
:
When making a lot of consecutive search requests the accessToken might
expire. Now the application refreshes the accessToken when this happens
while searching.
This also adds Promises in the OAuth process.