Implementing authentication with the Microsoft Authentication Library
MSAL allows you to get tokens from the Microsoft identity platform for authentication and accessing secure web APIs. For example, MSAL can be used for getting secure access to Microsoft Graph and other Microsoft APIs, as well as any other web APIs, including your own. If you’ve heard of Active Directory Authentication Library (ADAL), which integrates with AAD, MSAL is the successor of ADAL and integrates with the Microsoft identity platform, instead of being limited to AAD authentication only.
There are MSAL libraries available to support several languages and frameworks using a consistent API, including Android, Angluar.js, iOS, macOS, Go, Java, JavaScript and TypeScript frameworks, Node.js, Python, React, and – as you might expect – the .NET ecosystem. MSAL can be used to acquire tokens for web apps, web APIs, single-page apps, mobile and native applications, daemons, and server-side apps...