Cache access tokens in local cache file to prevent MSAL throttling (#22763)

This commit is contained in:
Cheena Malhotra
2023-04-20 13:55:30 -07:00
committed by GitHub
parent 0bdb35d9ab
commit 8613176817
16 changed files with 309 additions and 156 deletions

View File

@@ -37,6 +37,8 @@ export const TenantSection = 'tenant';
export const AzureTenantConfigSection = AzureSection + '.' + TenantSection + '.' + ConfigSection;
export const Filter = 'filter';
export const NoSystemKeyChainSection = 'noSystemKeychain';
export const oldMsalCacheFileName = 'azureTokenCacheMsal-azure_publicCloud';
@@ -72,6 +74,10 @@ export const MSALCacheName = 'accessTokenCache';
export const DefaultAuthLibrary = 'MSAL';
export const LocalCacheSuffix = '.local';
export const LockFileSuffix = '.lockfile';
export enum BuiltInCommands {
SetContext = 'setContext'
}