简体   繁体   English

Azure Identity 和用于 Python 的 MSAL 库之间有什么区别?

[英]What is the difference between the Azure Identity and MSAL libraries for Python?

EDIT: Correct links编辑:正确的链接

Dumb question, but would be great if someone could shed some light for me.愚蠢的问题,但如果有人能为我提供一些启示,那就太好了。

As far as I understand, MSAL ( https://github.com/AzureAD/microsoft-authentication-library-for-python ) and Azure Identity ( https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity ) let me do very similar things. As far as I understand, MSAL ( https://github.com/AzureAD/microsoft-authentication-library-for-python ) and Azure Identity ( https://github.com/Azure/azure-sdk-for-python/ tree/master/sdk/identity/azure-identity )让我做非常相似的事情。 In addition, both look to be officially supported by Microsoft so seems weird to have two very similar "official" libraries.此外,两者看起来都得到了微软的官方支持,所以拥有两个非常相似的“官方”库似乎很奇怪。

Can someone help me understand what the difference is?有人可以帮我理解有什么区别吗?

I just found this:我刚发现这个:

https://github.com/AzureAD/microsoft-authentication-library-for-python/issues/299 https://github.com/AzureAD/microsoft-authentication-library-for-python/issues/299

and also this one relating to the same 2 libraries in JavaScript:还有这个与 JavaScript 中的相同 2 个库有关:

https://github.com/Azure/azure-sdk-for-js/issues/12565 https://github.com/Azure/azure-sdk-for-js/issues/12565

They both seem to tell a similar story - the Azure Identity library utilises MSAL, so it builds on top of it and provides additional services.他们似乎都在讲述一个相似的故事——Azure 身份库利用 MSAL,因此它建立在它之上并提供额外的服务。 However, there might be advanced features of MSAL not exposed by Azure Identity.但是,Azure Identity 可能没有公开 MSAL 的高级功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM