Microsoft.Identity.Client.Broker Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Microsoft.Identity.Client.Broker
is the namespace in the Microsoft Authentication Library (MSAL) for .NET that handles interactions with desktop authentication brokers. It is available through the Microsoft.Identity.Client.Broker
package.
This package requires the use of Microsoft.Identity.Client
.
Note
The Microsoft.Identity.Client.Broker
functionality is not available for UWP, .NET 6 Windows (net6-windows
target framework moniker), or legacy applications using .NET Framework, or .NET Core 3 and below.
For legacy applications, refer to Microsoft.Identity.Client.Desktop
.
Installation
Using the .NET Command-Line Interface (CLI):
dotnet add package Microsoft.Identity.Client.Broker
Using the NuGet Command Line Interface (CLI):
nuget install Microsoft.Identity.Client.Broker
Using the Package Manager Console:
Install-Package Microsoft.Identity.Client.Broker
Using Visual Studio:
- Open the Solution Explorer.
- Right-click on a project within the solution.
- Click on Manage NuGet Packages...
- Click on the Browse tab and search for
Microsoft.Identity.Client.Broker
. - Click on the
Microsoft.Identity.Client.Broker
package and click Install.
Documentation
To get started, check out the Microsoft Authentication Library for .NET guide.
Samples
Refer to Microsoft identity platform code samples and the Samples Browser.
Classes
BrokerExtension |
MSAL Broker Extension for WAM support |
Remarks
Contributions
We appreciate feedback and contributions to help make Microsoft Authentication Library for .NET better! Before you get started, please read the following documents:
Issues
To provide library feedback or report a bug, please open an issue on GitHub.