ADAL.js 和 MSAL.js 有什么区别? [英] What is the difference between ADAL.js and MSAL.js?

查看:27
本文介绍了ADAL.js 和 MSAL.js 有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为使用 Microsoft Graph 的应用处理身份验证.

I am trying to handle authentication for my app which uses Microsoft Graph.

这两个库有什么区别?

Microsoft Authentication Library for JavaScript (MSAL.js)

ADAL.js 只是 MSAL.js 的 Angular 1 库吗?

Is ADAL.js just an Angular 1 library of MSAL.js?

推荐答案

MSAL.js 与 AzureAD V2 端点一起使用,而 ADAL.js 与 AzureAD V1 端点一起使用.V1 端点支持工作帐户,但不支持个人帐户.V2.0 端点是将 Microsoft 个人帐户和工作帐户统一到一个身份验证系统中.最后,使用 msal.js,您还可以获得 Azure AD B2C 的身份验证.

MSAL.js works with the AzureAD V2 endpoint, whereas ADAL.js works with the AzureAD V1 endpoint. The V1 endpoint supports work accounts, but not personal accounts. The V2.0 endpoint is the unification of Microsoft personal accounts and work accounts into a single authentication system. Finally, with msal.js you can also get authentications for Azure AD B2C.

这篇关于ADAL.js 和 MSAL.js 有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆