aimpress-chatbot/node_modules/@azure/identity/dist/browser/credentials/interactiveCredentialOptions.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

25 lines
No EOL
1.2 KiB
TypeScript

import type { AuthenticationRecord } from "../msal/types.js";
import type { AuthorityValidationOptions } from "./authorityValidationOptions.js";
import type { MultiTenantTokenCredentialOptions } from "./multiTenantTokenCredentialOptions.js";
/**
* Common constructor options for the Identity credentials that requires user interaction.
*/
export interface InteractiveCredentialOptions extends MultiTenantTokenCredentialOptions, AuthorityValidationOptions {
/**
* Result of a previous authentication that can be used to retrieve the cached credentials of each individual account.
* This is necessary to provide in case the application wants to work with more than one account per
* Client ID and Tenant ID pair.
*
* This record can be retrieved by calling to the credential's `authenticate()` method, as follows:
*
* const authenticationRecord = await credential.authenticate();
*
*/
authenticationRecord?: AuthenticationRecord;
/**
* Makes getToken throw if a manual authentication is necessary.
* Developers will need to call to `authenticate()` to control when to manually authenticate.
*/
disableAutomaticAuthentication?: boolean;
}
//# sourceMappingURL=interactiveCredentialOptions.d.ts.map