Files
PayDirt/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.mjs
RochesterX 6e820464d5 Initial
2025-11-12 10:13:24 -05:00

31 lines
773 B
JavaScript

/*! @azure/msal-common v15.13.0 2025-09-24 */
'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