.NET API browser

Welcome to the .NET API browser – your one-stop shop for all .NET-based APIs from Microsoft. Start searching for any managed APIs by typing in the box below.

If you have any feedback, create a new issue in the dotnet/dotnet-api-docs repo.

Filtros rápidos

Referencia da API de Microsoft Authentication Library for .NET (MSAL.NET) version latest

NomeDescrición
Microsoft.Identity.Client NamespaceMicrosoft.Identity.Client is the core namespace for the Microsoft Authentication Library (MSAL) for .NET, available through the Microsoft.Identity.Client package. It contains all the key components that you need to acquire a token from supported authentication providers. Installation Using the .NET Command-Line Interface (CLI): dotnet add package Microsoft.Identity.Client Using the NuGet Command Line Interface (CLI): nuget install Microsoft.Identity.Client Using the Package Manager Console: Install-Package Microsoft.Identity.Client 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. Click on the Microsoft.Identity.Client 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.
Microsoft.Identity.Client.Advanced Namespace
Microsoft.Identity.Client.AppConfig Namespace
Microsoft.Identity.Client.AuthScheme Namespace
Microsoft.Identity.Client.AuthScheme.PoP Namespace
Microsoft.Identity.Client.Broker NamespaceThe 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.
Microsoft.Identity.Client.Cache Namespace
Microsoft.Identity.Client.Desktop NamespaceThe Microsoft.Identity.Client.Desktop namespace and included functionality is available through the Microsoft.Identity.Client.Desktop package. This package contains binaries needed to use the Windows authentication broker and other features with MSAL.NET on older platforms such as .NET Framework and .NET Core 3. This package requires the use of Microsoft.Identity.Client. Warning This package and namespace are intended for legacy applications that want to use the Web Account Manager (WAM) in Windows. For modern applications, refer to Microsoft.Identity.Client.Broker. Installation Using the .NET Command-Line Interface (CLI): dotnet add package Microsoft.Identity.Client.Desktop Using the NuGet Command Line Interface (CLI): nuget install Microsoft.Identity.Client.Desktop Using the Package Manager Console: Install-Package Microsoft.Identity.Client.Desktop 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.Desktop. Click on the Microsoft.Identity.Client.Desktop package and click Install. Documentation To get started, check out the Microsoft Authentication Library for .NET guide. To learn more about the use of Web Account Manager with MSAL.NET, refer to Using MSAL.NET with Web Account Manager (WAM). Samples Refer to Microsoft identity platform code samples and the Samples Browser.
Microsoft.Identity.Client.Extensibility Namespace
Microsoft.Identity.Client.Kerberos Namespace
Microsoft.Identity.Client.ManagedIdentity Namespace
Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos Namespace
Microsoft.Identity.Client.Region Namespace
Microsoft.Identity.Client.SSHCertificates Namespace
Microsoft.Identity.Client.TelemetryCore.TelemetryClient Namespace
Microsoft.Identity.Client.Utils.Windows Namespace