简体   繁体   English

使用 Azure AD 进行身份验证和授权

[英]Authentication and authorization with Azure AD

Please share the difference between authentication and authorization with Microsoft identity management and authorization with app service in azure active directory.请分享 azure 活动目录中使用 Microsoft 身份管理的身份验证和授权与使用应用服务授权的区别。 I have to build a ASP.NET web application which will be hosted with in the organisation and accessible only to people with in the organisation.Please let me know which one to choose(App service or microsoft identity management correctly and different scenarios where these are used.我必须构建一个 ASP.NET web 应用程序,该应用程序将在组织中托管,并且只有组织中的人才能访问。请让我知道选择哪一个(应用程序服务或微软身份管理正确以及使用它们的不同场景。

In the Azure AD scope:在 Azure AD scope 中:

Authentication is the process of proving you are who you say you are.身份验证是证明您是您所说的人的过程。 Authentication is sometimes shortened to AuthN.身份验证有时简称为 AuthN。 Microsoft identity platform implements the OpenID Connect protocol for handling authentication. Microsoft 身份平台实施 OpenID Connect 协议来处理身份验证。

Authorization is the act of granting an authenticated party permission to do something.授权是授予经过身份验证的一方做某事的权限的行为。 It specifies what data you're allowed to access and what you can do with that data.它指定您可以访问哪些数据以及您可以使用该数据做什么。 Authorization is sometimes shortened to AuthZ.授权有时缩写为 AuthZ。 Microsoft identity platform implements the OAuth 2.0 protocol for handling authorization. Microsoft 标识平台实现了用于处理授权的 OAuth 2.0 协议。

Here you have full quickstart documentation, how to create a web app with a sign-in option within Microsoft Identity Platform: https://docs.microsoft.com/en-GB/azure/active-directory/develop/quickstart-v2-aspnet-webapp这里有完整的快速入门文档,如何在 Microsoft 标识平台中创建带有登录选项的 web 应用程序: https://docs.microsoft.com/en-GB/azure/active-directory/develop/quickstart-v2- aspnet-webapp

Sample application scenarios: https://docs.microsoft.com/pl-pl/aspnet/core/security/authentication/azure-active-directory/?view=aspnetcore-3.1#application-scenarios示例应用场景: https://docs.microsoft.com/pl-pl/aspnet/core/security/authentication/azure-active-directory/?view=aspnetcore-3.1#application-scenarios

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

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