This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.03k
stars
1.19k
forks
source link
Enhance ioredis samples for token refresh use cases #29644
Hello,
We request to enhance the ioredis samples here to better support the token refresh scenario along with clustered caches. Following are two asks we have:
Add a separate sample for clustered caches for token refresh. For clustered caches, we need to loop over each client node object and update password with new token and send auth command. Example can be found below.
Hello, We request to enhance the ioredis samples here to better support the token refresh scenario along with clustered caches. Following are two asks we have:
redis.options.password = accessTokenCache.token
to update password with new token in client object as well after this line inside updateToken() function.