Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Core MSAL.NET libraries enable developers to build token acquisition flows into their applications both on the client (e.g., desktop, mobile, and web) as well as on the service sides (e.g., web APIs).
Public client applications are applications that run on devices, desktop computers, or in a web browser, that cannot be trusted to securely store secrets required for authentication. These applications can only access a web API or service on behalf of the authenticating user and cannot impersonate other users or groups. The reason they can't store a secret is mainly due to the fact that client applications can be reverse-engineered and secrets extracted. The concept is following the definitions included in RFC6749 Section 2.1 - Client Types.
MSAL.NET enables the development of public client applications with the help of PublicClientApplicationBuilder as well as included configuration and functions.
Confidential client applications are apps that run on servers, such as web apps, web API apps, or service/daemon apps. Their internals are considered difficult to access, and therefore they can keep an application secret secure and out of sight of its users. Confidential clients can hold configuration-time secrets. The concept, just like public client applications, also is following the definitions included in RFC6749 Section 2.1 - Client Types.
MSAL.NET enables the development of confidential client applications with the help of ConfidentialClientApplicationBuilder as well as included configuration and functions.
Refer to Token acquisition for more details.
Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Implement authentication by using the Microsoft Authentication Library - Training
Implement authentication by using the Microsoft Authentication Library
Certification
Microsoft Certified: Identity and Access Administrator Associate - Certifications
Demonstrate the features of Microsoft Entra ID to modernize identity solutions, implement hybrid solutions, and implement identity governance.
Documentation
Token cache serialization - Microsoft Authentication Library for .NET
Learn about serialization and custom serialization of the token cache using the Microsoft Authentication Library for .NET (MSAL.NET).
Initialize MSAL.NET client applications - Microsoft Authentication Library for .NET
Learn about initializing public client and confidential client applications using the Microsoft Authentication Library for .NET (MSAL.NET).
Microsoft Authentication Library for .NET - Microsoft Authentication Library for .NET
Learn how you can use the Microsoft Authentication Library for .NET (MSAL.NET) to acquire tokens from the Microsoft identity platform and access protected web APIs.
MSAL.NET API Reference Documentation - Microsoft Authentication Library for .NET
The full overview of the MSAL.NET API surface.