다음을 통해 공유


Microsoft.Identity.Client.Broker Namespace

NuGet NuGet downloads GitHub Repo stars

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:

  1. Open the Solution Explorer.
  2. Right-click on a project within the solution.
  3. Click on Manage NuGet Packages...
  4. Click on the Browse tab and search for Microsoft.Identity.Client.Broker.
  5. 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.