No need for memento hack (#234450)

MSAL node made `clearCache` synchronous 🎉 so we can safely depend on it for clearing the cache.

> Context: The default behavior of MSAL's internal cache is that it is a union with what's in the persistant cache (secret storage) but what _we_ want is that secret storage is the source of truth, so every time we receive an update to secret storage, we clear the in-memory cache to get the data from the persistant cache.

Also bumps msal-node-extensions while we're at it.
This commit is contained in:
Tyler James Leonhardt
2024-11-22 13:35:49 -08:00
committed by GitHub
parent 83857a6ee1
commit f6dd987698
3 changed files with 21 additions and 45 deletions

View File

@@ -140,8 +140,8 @@
},
"dependencies": {
"@azure/ms-rest-azure-env": "^2.0.0",
"@azure/msal-node": "^2.13.1",
"@azure/msal-node-extensions": "^1.3.0",
"@azure/msal-node": "^2.16.2",
"@azure/msal-node-extensions": "^1.5.0",
"@vscode/extension-telemetry": "^0.9.0",
"keytar": "file:./packageMocks/keytar",
"vscode-tas-client": "^0.1.84"