篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Azure Active Directory身份验证相关的知识,希望对你有一定的参考价值。
Azure AD v2.0 endpoint
The v2.0 endpoint allow developers to write apps that accept sign-in from both Microsoft Accounts and Azure AD accounts, using a single auth endpoint. Applications that use the Azure AD v2.0 endpoint can also consume the REST APIs from the Microsoft Graph API by using either type of account.
With the v2.0 endpoint, you can now register all components of your project as a single app registration, and use a single Application Id for your entire project.
In Azure Active Directory, an app can behave as a resource, or a recipient of tokens. A resource can define a number of scopes or oAuth2Permissions that it understands, allowing client apps to request tokens to that resource for a certain set of scopes.
ADAL vs MSAL
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.
以上是关于text Azure Active Directory身份验证的主要内容,如果未能解决你的问题,请参考以下文章