Table of Contents

Class BrokerOptions

Namespace
Microsoft.Identity.Client
Assembly
Microsoft.Identity.Client.dll

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 class BrokerOptions
Inheritance
BrokerOptions
Inherited Members

Constructors

BrokerOptions(OperatingSystems)

Constructor

public BrokerOptions(BrokerOptions.OperatingSystems enabledOn)

Parameters

enabledOn BrokerOptions.OperatingSystems

Choices of OperatingSystems

Properties

EnabledOn

Operating systems on which broker is enabled.

public BrokerOptions.OperatingSystems EnabledOn { get; }

Property Value

BrokerOptions.OperatingSystems

ListOperatingSystemAccounts

Currently only supported on Windows Allows the Windows broker to list Work and School accounts as part of the GetAccountsAsync()

public bool ListOperatingSystemAccounts { get; set; }

Property Value

bool

Title

Title of the broker window

public string Title { get; set; }

Property Value

string