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

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

问题描述

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

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

这两个库有什么区别?

用于JavaScript的Microsoft身份验证库(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天全站免登陆