gpt4 book ai didi

.net - Azure.Identity 还是 Azure.Services.AppAuthentication?

转载 作者:行者123 更新时间:2023-12-03 00:41:22 26 4
gpt4 key购买 nike

看起来 Azure 中有两个用于 token 身份验证的相互竞争的库:

我如何决定使用哪一个?

最佳答案

Azure.Identity库使用 MSAL 和 Azure.Services.AppAuthentication库使用 ADAL。

与 ADAL 相比,MSAL 具有多种优势,包括增量同意、更丰富的单点登录体验、对个人 Microsoft 帐户的支持、使用基于标准的协议(protocol)等。

因此,我们建议使用Azure.Identity库,因为它使用 MSAL。

关于.net - Azure.Identity 还是 Azure.Services.AppAuthentication?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61777701/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com