UNPKG

@azure/identity

Version:

Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID

44 lines 1.44 kB
/** * Parameters that enable WAM broker authentication in the InteractiveBrowserCredential. */ export type BrokerOptions = BrokerEnabledOptions | BrokerDisabledOptions; /** * Parameters when WAM broker authentication is disabled. */ export interface BrokerDisabledOptions { /** * If set to true, broker will be enabled for WAM support on Windows. */ enabled: false; /** * If set to true, MSA account will be passed through, required for WAM authentication. */ legacyEnableMsaPassthrough?: undefined; /** * Window handle for parent window, required for WAM authentication. */ parentWindowHandle: undefined; } /** * Parameters when WAM broker authentication is enabled. */ export interface BrokerEnabledOptions { /** * If set to true, broker will be enabled for WAM support on Windows. */ enabled: true; /** * If set to true, MSA account will be passed through, required for WAM authentication. */ legacyEnableMsaPassthrough?: boolean; /** * Window handle for parent window, required for WAM authentication. */ parentWindowHandle: Uint8Array; /** * If set to true, the credential will attempt to use the default broker account for authentication before falling back to interactive authentication. * Default is set to false. */ useDefaultBrokerAccount?: boolean; } //# sourceMappingURL=brokerOptions.d.ts.map