<PackageReference Include="Microsoft.Identity.Client" Version="4.85.2" />

Microsoft.Identity.Client.BrokerOptions

public class BrokerOptions
The class specifies the options for broker across OperatingSystems The common properties are direct members Platform specific properties (if they exist) are part of the corresponding options
public enum OperatingSystems

Supported OperatingSystems

public OperatingSystems EnabledOn { get; }

Operating systems on which broker is enabled.

public bool ListOperatingSystemAccounts { get; set; }

Currently supported on Windows, Linux and macOS. Allows the Windows broker to list MSA, Work and School accounts as part of the GetAccountsAsync. Linux and macOS broker will discover accounts as part of the GetAccountsAsync

public bool MsaPassthrough { get; set; }

A legacy option available only to Microsoft First-Party applications. Should be avoided where possible.

public string Title { get; set; }

Title of the broker window

public BrokerOptions(OperatingSystems enabledOn)

Constructor