wangzhibo
2026-05-09 53418655c061ac26f66058253f39200aced1ab1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
 * 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