mirror of
https://github.com/tvytlx/ai-agent-deep-dive.git
synced 2026-04-08 01:54:48 +08:00
Add extracted source directory and README navigation
This commit is contained in:
30
extracted-source/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.mjs
generated
vendored
Normal file
30
extracted-source/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.mjs
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/*! @azure/msal-common v15.13.1 2025-10-29 */
|
||||
'use strict';
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
/**
|
||||
* This class instance helps track the memory changes facilitating
|
||||
* decisions to read from and write to the persistent cache
|
||||
*/ class TokenCacheContext {
|
||||
constructor(tokenCache, hasChanged) {
|
||||
this.cache = tokenCache;
|
||||
this.hasChanged = hasChanged;
|
||||
}
|
||||
/**
|
||||
* boolean which indicates the changes in cache
|
||||
*/
|
||||
get cacheHasChanged() {
|
||||
return this.hasChanged;
|
||||
}
|
||||
/**
|
||||
* function to retrieve the token cache
|
||||
*/
|
||||
get tokenCache() {
|
||||
return this.cache;
|
||||
}
|
||||
}
|
||||
|
||||
export { TokenCacheContext };
|
||||
//# sourceMappingURL=TokenCacheContext.mjs.map
|
||||
Reference in New Issue
Block a user