com.microsoft.aad/adal 和 com.microsoft.azure/adal4j 有什么区别?
What is the difference between com.microsoft.aad/adal and com.microsoft.azure/adal4j?
我正在尝试将 Azure AD 凭据转换为 OAuth2 身份验证代码,最终转换为令牌,以便我可以请求 REST 资源管理 APIs。
Maven Central 目前有两个可用的工件,com.microsoft.aad/adal 和 com.microsoft.azure/adal4j。我已经下载了两者的 Javadoc,它们看起来非常相似,都使用 com.microsoft.aad 命名空间(分别使用该命名空间中的 adal 和 adal4j 包)。它们都是最近发布的并且是在同一天发布的,所以看起来没有一个被弃用。它们似乎都导出了类似的功能,但 adal4j 似乎导出的功能少得多(我想这使它看起来更像是面向用户的 API)。
这两个包有什么区别?
阅读 Maven 网站上的描述,我相信 com.microsoft.aad/adal
是 Azure Active Directory library for Android apps
而 com.microsoft.azure/adal4j
是 Azure Active Directory library for Java Web Apps
。
来自http://mvnrepository.com/artifact/com.microsoft.aad/adal/1.0.0
:
Azure active directory library for Android gives you the ability to
add Windows Azure Active Directory authentication to your application
with just a few lines of additional code. Using our ADAL SDKs you can
quickly and easily extend your existing application to all the
employees that use Windows Azure AD and Active Directory on-premises
using Active Directory Federation Services, including Office365
customers.
来自http://mvnrepository.com/artifact/com.microsoft.azure/adal4j
:
Azure active directory library for Java gives you the ability to add
Windows Azure Active Directory authentication to your web application
with just a few lines of additional code. Using our ADAL SDKs you can
quickly and easily extend your existing application to all the
employees that use Windows Azure AD and Active Directory on-premises
using Active Directory Federation Services, including Office365
customers.
我正在尝试将 Azure AD 凭据转换为 OAuth2 身份验证代码,最终转换为令牌,以便我可以请求 REST 资源管理 APIs。
Maven Central 目前有两个可用的工件,com.microsoft.aad/adal 和 com.microsoft.azure/adal4j。我已经下载了两者的 Javadoc,它们看起来非常相似,都使用 com.microsoft.aad 命名空间(分别使用该命名空间中的 adal 和 adal4j 包)。它们都是最近发布的并且是在同一天发布的,所以看起来没有一个被弃用。它们似乎都导出了类似的功能,但 adal4j 似乎导出的功能少得多(我想这使它看起来更像是面向用户的 API)。
这两个包有什么区别?
阅读 Maven 网站上的描述,我相信 com.microsoft.aad/adal
是 Azure Active Directory library for Android apps
而 com.microsoft.azure/adal4j
是 Azure Active Directory library for Java Web Apps
。
来自http://mvnrepository.com/artifact/com.microsoft.aad/adal/1.0.0
:
Azure active directory library for Android gives you the ability to add Windows Azure Active Directory authentication to your application with just a few lines of additional code. Using our ADAL SDKs you can quickly and easily extend your existing application to all the employees that use Windows Azure AD and Active Directory on-premises using Active Directory Federation Services, including Office365 customers.
来自http://mvnrepository.com/artifact/com.microsoft.azure/adal4j
:
Azure active directory library for Java gives you the ability to add Windows Azure Active Directory authentication to your web application with just a few lines of additional code. Using our ADAL SDKs you can quickly and easily extend your existing application to all the employees that use Windows Azure AD and Active Directory on-premises using Active Directory Federation Services, including Office365 customers.