semblance/node_modules/@azure/msal-common/src/cache/interface/ICachePlugin.ts
2025-12-19 19:26:16 +00:00

11 lines
371 B
TypeScript
Executable file

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { TokenCacheContext } from "../persistence/TokenCacheContext.js";
export interface ICachePlugin {
beforeCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>;
afterCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>;
}