aimpress-chatbot/node_modules/@azure/identity/dist/browser/credentials/credentialPersistenceOptions.d.ts
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

30 lines
No EOL
1,022 B
TypeScript

import type { TokenCachePersistenceOptions } from "../msal/nodeFlows/tokenCachePersistenceOptions.js";
/**
* Shared configuration options for credentials that support persistent token
* caching.
*/
export interface CredentialPersistenceOptions {
/**
* Options to provide to the persistence layer (if one is available) when
* storing credentials.
*
* You must first register a persistence provider plugin. See the
* `@azure/identity-cache-persistence` package on NPM.
*
* Example:
*
* ```ts snippet:credential_persistence_options_example
* import { useIdentityPlugin, DeviceCodeCredential } from "@azure/identity";
*
* useIdentityPlugin(cachePersistencePlugin);
*
* const credential = new DeviceCodeCredential({
* tokenCachePersistenceOptions: {
* enabled: true,
* },
* });
* ```
*/
tokenCachePersistenceOptions?: TokenCachePersistenceOptions;
}
//# sourceMappingURL=credentialPersistenceOptions.d.ts.map